get_meta_tags() timeout
| From: | Erik Monson | Date: | Fri, 08 Dec 2000 01:23:49 +0000 |
| Subject: | get_meta_tags() timeout | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-29261@lists.php.net to get a copy of this message | ||
Hello -
Does anybody know how to set some sort of a timeout for the
get_meta_tags? My previous 'solution' was to open up a socket ahead of
time to test for site's status - but this didn't work very well. If a
site doesn't respond, it seems to keep trying infinitely, which
creates a huge problem for my script. Does anyone know a more elegant
solution to set a timeout?
TIA
Erik Monson
erik.monson@gte.net