RE: [PHP] XML + PHP is going to eat my shorts [SOLVED]
| From: | Burhan Khalid | Date: | Wed, 17 Nov 2004 06:46:56 +0000 |
| Subject: | RE: [PHP] XML + PHP is going to eat my shorts [SOLVED] | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202277@lists.php.net to get a copy of this message | ||
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.
--