How to check if a file exists from a url
I need to check if a particular file exists on a remote server. Using is_file()
and file_exists()
doesn’t work. Any ideas how to do this quickly and easily?
I need to check if a particular file exists on a remote server. Using is_file()
and file_exists()
doesn’t work. Any ideas how to do this quickly and easily?
For some reason this PHP code below will not work, I can not figure it out.