Can you verify a url with php?
I am trying to re-create an ASP script I found, but I am having trouble with it.
I am trying to verify if a file exists on a remote web server. Specifically a favicon.ico file.
In the ASP script it uses a function called HttpExists() and I can't seem to find an equivalent in php. I tried file_exists() but that does not work.
Is there a way to verify a url to see if it is a valid document?
Thanks
|