I'm getting the same exact problem as this:


Here's the code that's giving me problems:

while ($data = fread($fp, 4096))
    xml_parse($parser, $data, feof($fp)) or
      die(sprintf("XML error: %s at line %d",


i get the message "XML error: syntax error at line 1".

The odd part is that it sometimes works, and sometimes doesn't..
and I don't have to change the code. 

It would be nice to know if the original poster ("Matt Holmes" <kerion () 
vengeanceagenda ! com> ) has fixed it or not. 

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

Reply via email to