File on remote server
Posted: Sat Apr 03, 2004 4:13 pm
Hello all,
I was wondering if it is possible to check if a file exists on a remote server using php. For example I would like to create a simple funcion that for a given input "www.anyserver.com/anyfile.htm" returs true if the file exists or false otherwise. If it is possible can anybody tell me how to do it?
Thanks,
-Pharmacomancer
I was wondering if it is possible to check if a file exists on a remote server using php. For example I would like to create a simple funcion that for a given input "www.anyserver.com/anyfile.htm" returs true if the file exists or false otherwise. If it is possible can anybody tell me how to do it?
Thanks,
-Pharmacomancer