fopen( URL ) timeout?
| From: | Sergiy Zhenochin | Date: | Thu, 02 Nov 2000 04:58:52 +0000 |
| Subject: | fopen( URL ) timeout? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-23325@lists.php.net to get a copy of this message | ||
I'm trying to get a page from server using:
$file = fopen( $url_string, "r" )
but the server gets stuck on some URL strings. Is there a way to timeout
such a request?
Or the only way to do it is using fsockopen?
thanks,
Sergiy.