[nycphp-talk] xml_parse and CLI
Matthew Terenzio
matt at jobsforge.com
Sat Aug 13 01:00:44 EDT 2005
On Aug 13, 2005, at 12:48 AM, Greg Rundlett wrote:
> On 8/13/05, Matthew Terenzio <matt at jobsforge.com> wrote:
>>
>> This block of code works fine on a web server, but fails with:
>>
>> XML error: XML declaration not finished at line 1
>>
>> on CLI. Anyone understand why? The $data variable does in fact look
>> like the remote XML doc, so the fopen and fread seem to be working.
>
> What does $file (and/or $data) look like?
MagicQuotes was on by accident . Turned it off and it stopped escaping
that stuff. Thanks.
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
>
More information about the talk
mailing list