Re: fopen() for http:// sometimes working, sometimes not

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some additional info. It seems I am getting these warnings when it fails:

Warning: fopen() [function.fopen]: php_network_getaddresses: getaddrinfo 
failed: Name or service not known

Warning: fopen(http://wanganda2u.co.uk) [function.fopen]: failed to open 
stream:

Now I have to find out why that is failing some of the time but not other 
times.

-- 
Albert Wiersch
Fix your website: http://onlinewebcheck.com


""Albert Wiersch"" <support@xxxxxxxxxxxxxxxxx> wrote in message 
news:D5.5A.52211.973D3774@xxxxxxxxxxxxxxx
>
> 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 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux