Hi,
Anyone know if there's a way to know if a file exist on a distant server?
thanks
Checking if a file exists --> Distant files
Moderator: General Moderators
readfile() will print the content of the file. Maybe fopen() is sufficient.
If url_wrappers are disabled you might use php's ftp-functions or open a socket (if available) to send a http-request and check the response code.
If url_wrappers are disabled you might use php's ftp-functions or open a socket (if available) to send a http-request and check the response code.
