PHP Classes

Error when running script

Recommend this page to a friend!

      MobileUserAgent  >  All threads  >  Error when running script  >  (Un) Subscribe thread alerts  
Subject:Error when running script
Summary:error message in MobileUserAgent
Messages:3
Author:Theunis
Date:2004-12-16 08:12:42
Update:2006-02-25 21:59:29
 

 


  1. Error when running script   Reply   Report abuse  
Picture of Theunis Theunis - 2004-12-16 08:12:42
When I run the test script I get the following error, any idea why?

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in d:\accounts\samt\mua\MobileUserAgent.php on line 72

Thanks in advance

  2. Re: Error when running script   Reply   Report abuse  
Picture of Craig Manley Craig Manley - 2005-01-17 10:14:18 - In reply to message 1 from Theunis
That's the typical error you'll get if you try to run a PHP5 class in a PHP4 interpreter.

  3. Re: Error when running script   Reply   Report abuse  
Picture of Reza Reza - 2006-02-25 21:59:29 - In reply to message 2 from Craig Manley
is there a php4 version of this class ?