NYCPHP Meetup

NYPHP.org

fopen have a "setTimeout" feature?

Phil Powell soazine at erols.com
Sun Dec 8 14:32:23 EST 2002


Can you set something like a "setTimeout" feature in fopen? That is, if you use fopen to open a URL for "scraping", if that URL's server is down or doesn't respond in x seconds, can you set a feature to show an error message or a "friendly" error message indicating such?

Thanx
Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20021208/d210ab61/attachment.html>


More information about the talk mailing list