Is it possible to get the md5 of a file on a remote server? If so how?
how about md5_file("http://remotelocation/file")
It's not possible without downloading it, or the remote server providing the information (web service, HTML page, etc.)
You can use md5(file_get_contents("http://remotelocation/file"))
to download the file and calculate the md5 hash if your PHP installation is configured to open remote streams. But that will download the complete file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With