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!
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!
Comment