The manual shows fopen("http://www.php.net/","r";) works. If you are 
saying it is only today that it is not working then I wonder if the 
server (or dns server for it) is down.

If on unix, does "dig domain.com" give an ANSWER section with ip 
address? If on NT, does "nslookup domain.com" give an ip address? (with 
domain.com changed to be whatever server the url you are looking for is on).

I don't know anything about the particular error you are getting but 
maybe the above are some pointers (assuming you didn't just do a typo).

HTH
Chris

[EMAIL PROTECTED] wrote:

>Hello,
>
>Is there anyway I can do fopen to try to open a connection to a domain 
>name, if it cant try opening it to the IP? For some weird reason today 
>a domain name wont resolve and Iam getting this error:
>
>Warning: php_network_getaddresses: getaddrinfo failed: Name or service 
>not known
>
>Thanks.
>



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

Reply via email to