Re: IS there a way.
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: IS there a way. | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137668@lists.php.net to get a copy of this message | ||
The industrial strength way to do this is to use the curl functions. See
php.net/curl. You can alternatively just fsockopen yourself and issue the
request and see what the first line of the response is.
(by the way, a slightly shorter .sig would be appreciated)
-Rasmus
On Sat, 1 Mar 2003, Philip J. Newman wrote:
> Is there a way to PING a URL and check if it returns a valid code like 200
> ... ??