PHP Classes

Parse error

Recommend this page to a friend!

      Cities and zip codes  >  All threads  >  Parse error  >  (Un) Subscribe thread alerts  
Subject:Parse error
Summary:Parse error: parse error in d:\ipaspudo\www\ocities\index.php on
Messages:3
Author:Pablo Caraballo
Date:2006-03-21 18:03:50
Update:2006-03-22 20:00:28
 

 


  1. Parse error   Reply   Report abuse  
Picture of Pablo Caraballo Pablo Caraballo - 2006-03-21 18:03:50
I am getting the parse error: 'Parse error: parse error in d:\ipaspudo\www\ocities\index.php on line 4' using easyphp 1.8 on WXP. Line 4 is: <?xml version="1.0" encoding="UTF-8" ?>. The problem looks like to be with the extension php.

  2. Re: Parse error   Reply   Report abuse  
Picture of Johan Barbier Johan Barbier - 2006-03-22 06:42:08 - In reply to message 1 from Pablo Caraballo
Hi :-)

You've got this error because of the xml starting tag, and because your php.ini shows short_open_tag to On. It should be turned Off. (that's a good habit, anyway :-) ) OR, you can remove the XHTML header and replace it by an HTML header.

Cheers,

Johan

  3. Re: Parse error   Reply   Report abuse  
Picture of Pablo Caraballo Pablo Caraballo - 2006-03-22 20:00:28 - In reply to message 2 from Johan Barbier
Thanks, it worked.