PHP Classes

I have a Parse Error in Authentication.phpc

Recommend this page to a friend!

      PHP SSH Connection Session  >  All threads  >  I have a Parse Error in...  >  (Un) Subscribe thread alerts  
Subject:I have a Parse Error in...
Summary:Parse error: syntax error, unexpected '{' in Authentication.phpc
Messages:2
Author:Jean-Luc Piquard
Date:2016-11-10 14:32:27
 

  1. I have a Parse Error in...   Reply   Report abuse  
Picture of Jean-Luc Piquard Jean-Luc Piquard - 2016-11-10 14:32:27
(on a Wamp Server 64 bits + PHP 7.0.10)

After defining :

$host = "10.134.241.154" ;
$port = 22 ;
$user = 'myuser' ;
$password = 'mypassword' ;

in example.inc.php

I get:
Parse error: syntax error, unexpected '{' in Authentication.phpclass on line 227

Can you help me please ?

  2. Re: I have a Parse Error in...   Reply   Report abuse  
Picture of Christian Vigh Christian Vigh - 2016-11-10 14:43:22 - In reply to message 1 from Jean-Luc Piquard
Hi Jean-Luc,

many thanks for your reporting ; I didn't notice that I mistakenly introduced a syntax error in the code !

I have fixed that, so it should run better now...

Please let me know if you have any further issues,
Christian.