PDA

View Full Version : PHP / XML Problem


blackice
10th March 2009, 18:20
Hello!

I'm having a problem with reading xml files from php. I am using ISPConfig-2.2.29 on a FC6 server.

The error i get is:


XML error: XML declaration not finished at line 1


And line 1 of the xml file is



<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>


Has anybody experienced this problem?

I googled and found out that i could be a short_tag problem, but it didnt fix my problem.

blackice
10th March 2009, 18:45
Never min guys.

i fixed it with setting :

php_flag magic_quotes_runtime Off

Because php added \ before " at the xml file.

Thanx