Re: Checking for internet connection.
| From: | Kim Madsen | Date: | Mon, 21 Dec 2009 17:42:28 +0000 |
| Subject: | Re: Checking for internet connection. | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-300631@lists.php.net to get a copy of this message | ||
Bob McConnell wrote on 21/12/2009 15:05:
Both at home and at work there are caching DNS on the LAN. So a DNS request may come back with a valid IP address when the WAN connection is down. I still won't be able to connect to the remote site.Then use fopen() to read a page you know exists? -- Kind regards Kim Emax - masterminds.dk