Reply to Re: [PHP] libxml_set_streams_context

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация