Koozali.org formerly Contribs.org

Legacy Forums => Experienced User Forum => Topic started by: elorenz on June 21, 2004, 03:39:07 AM

Title: <?xml version="1.0" encoding="iso-8859-1&q
Post by: elorenz 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
Title: <?xml version="1.0" encoding="iso-8859-1&q
Post by: schirrms 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,
Title: <?xml version="1.0" encoding="iso-8859-1&q
Post by: Anonymous 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.