Set a timeout on file_get_contents?
| From: | Brian Dunning | Date: | Tue, 15 Feb 2005 15:48:14 +0000 |
| Subject: | Set a timeout on file_get_contents? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-208739@lists.php.net to get a copy of this message | ||
Is there any way to specify a timeout on a file_get_contents()? I'm trying to verify a URL but I don't want to spend more than a few seconds on it.
- Brian