RE: XML + PHP is going to eat my shorts [SOLVED]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2004-11-16 at 09:50 -0600, Jay Blanchard wrote:
> [snip]
> ><?xml version="1.0" encoding="ISO-8859-1"?>
> [/snip]
> 
> using fread the above line comae out like this....(even though I was not
> echoing the line, just processing)....
> 
> <?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>
> 
> ...as soon as I added stripslashes the syntax error disappeared and
> VIOLA!...xml file parsing at its finest!

Wow, that's a first for me.  Will have to look out for that. I've been
parsing XML for quite a while now, and I guess never ran into this
issue.

-- 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux