|  | 
  daniel - 2006-08-18 10:57:21All I did was unpackage in a folder, make storage writable, and run example.php. Here is the full error:
 Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /XXXX/XXX/ocr/OCR.class.php on line 18
  Edge - 2006-10-15 14:33:59 - In reply to message 1 from danielit's for PHP5 not for PHP4.However if you manually replace "Private" keyword to "Var", delete all "Public", "Static" before each "Function", this class will work..
 
 ,-)
  Marko Stamcar - 2007-01-24 22:56:57 - In reply to message 2 from EdgeThanks for the tip :)
 Also, when using find & replace:
 
 private $ --> var $
 private --> [remove]
  mohd idris - 2008-07-01 14:59:12 - In reply to message 3 from Marko StamcarParse error: parse error, unexpected T_CLASS in C:\wamp\www\phpocr-2006-02-10\example.php on line 13
  Model Locate - 2009-09-01 22:52:56 - In reply to message 2 from EdgeParse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/modelloc/public_html/ocr/char.object.php on line 16
  Mario Sauer - 2009-09-18 08:39:18 - In reply to message 5 from Model Locatedo the same replacemnts in char.object.php to run the script width PHP4 |