Posted by igrosny@gmail.com on 11/13/07 16:32
On Nov 13, 8:00 am, 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!
Perhaps this could help
http://ar.php.net/manual/en/function.fopen.php#58099
[Back to original message]
|