Posted by Captain Paralytic on 11/13/07 13:56
On 13 Nov, 11:00, AK <danr...@gmail.com> wrote:
> Hi,
>
> Can anyone tell me how to connect to a URL using PHP for the purpose
> of obtaining the HTTP response code? Specifically, I want to be able
> to ascertain whether a link is down (404) or alive.
>
> A bare-bones example would be appreciated.
>
> Thanks!
Try typing
php http request
into Google
[Back to original message]
|