NYCPHP Meetup

NYPHP.org

[nycphp-talk] fopen have a "setTimeout" feature?

Oktay Altunergil nyphp at altunergil.com
Sun Dec 8 15:07:58 EST 2002


Might this be what you're looking for?

http://www.php.net/manual/en/function.stream-set-timeout.php

oktay

On Sun, 08 Dec 2002 14:35:09 -0500
Phil Powell <soazine at erols.com> wrote:

> 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
> 
> 
> 
> --- Unsubscribe at http://nyphp.org/list/ ---
> 
> 



More information about the talk mailing list