|
Posted by "Richard Lynch" on 10/21/03 11:16
On Tue, May 17, 2005 11:12 pm, Bill Hoffman said:
>
>
> On May 17, 2005, at 10:24 PM, Richard Lynch wrote:
>
>> I don't know much about that fancy new stream stuff, or the XML
>> crap, but
>> you've got zero (0) lines of code in there to do anything useful
>> when the
>> functions fail.
>
> no functions fail.
If none of them failed, your script would work :-)
> what I'm expecting is that with libxml_set_streams_context(), I've
I'm betting most of these functions do *NOT* print an error message for
you when they fail.
*YOU* have check their return value to see if it's 'false' or -1 or 0 and,
if so, *YOU* have to call another function to get the error message and
error code.
This is what I am suggesting is missing big-time in your code.
--
Like Music?
http://l-i-e.com/artists.htm
[Back to original message]
|