fopen() for http:// sometimes working, sometimes not
| From: | Albert Wiersch | Date: | Thu, 27 Dec 2007 16:31:34 +0000 |
| Subject: | fopen() for http:// sometimes working, sometimes not | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-266300@lists.php.net to get a copy of this message | ||
I noticed my script at http://onlinewebcheck.com was
sometimes (fairly
often) failing to open some URLs that users have entered. fopen() returns
false very quickly, but when tried again with the same URL, sometimes it
works. What would cause this behavior? Why does fopen() occasionally fail to
open valid http addresses but works at other times?
--
Albert Wiersch