PHP Classes

Error parse

Recommend this page to a friend!

      Text To Image  >  All threads  >  Error parse  >  (Un) Subscribe thread alerts  
Subject:Error parse
Summary:Error parse
Messages:2
Author:clarence
Date:2006-08-09 12:11:30
Update:2006-08-09 17:05:38
 

  1. Error parse   Reply   Report abuse  
Picture of clarence clarence - 2006-08-09 12:11:30
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/s/u/B/suBzero/html/TextToImage.inc.php on line 16

i extracted the file and test it. Nothing have be done to the file.
Just rename the test file.

  2. Re: Error parse   Reply   Report abuse  
Picture of Er. Rochak Chauhan Er. Rochak Chauhan - 2006-08-09 17:05:38 - In reply to message 1 from clarence
Hi clarence,

I am guessing that you are using PHP 4.
If that is the case, please remove all PUBLIC, PRIVATE and PROTECTED kewords in the class. Also prefix all variables with "var" keyword.

If you still face any problem, feel free to contact me.

Regards

Rochak Chauhan