Koozali.org: home of the SME Server

<?xml version="1.0" encoding="iso-8859-1&q

Offline elorenz

  • **
  • 41
  • +0/-0
<?xml version="1.0" encoding="iso-8859-1&q
« on: June 21, 2004, 03:39:07 AM »
Hi all,
I'm trying some sample code that comes with Dreamwaver for dynamic content using PHP.
The code line <?xml version="1.0" encoding="iso-8859-1"?> is somehow blocking the output of content; my pages show nothing when called by the browser.
When I delete this code line every thing works ok!
Is this a bug in the PHP interpreter or am I doing something wrong?
Regards,
Ernesto
............

schirrms

<?xml version="1.0" encoding="iso-8859-1&q
« Reply #1 on: June 21, 2004, 10:03:42 PM »
Hi,

This line :
<?xml version="1.0" encoding="iso-8859-1"?>
Is a sort of header in a file. This want to say :
The whole file is just that, a xml file, and the data are stored as xml version 1.0 with the charset iso-8859-1

Normaly, if your file is a php script, it should not start with this line.

HTH,

Anonymous

<?xml version="1.0" encoding="iso-8859-1&q
« Reply #2 on: June 21, 2004, 10:55:04 PM »
Hi Pascal,
Thanks for your comments. I guess it's a screwup on the part of old Macromedia Sample code.
Best regards,
Ernesto
Caracas, Venezuela.