I have two identical images stored in two different servers (dropbox and my own).
however, i realize that
hash("md5",file_get_contents($image1))
hash("md5",file_get_contents($image2))
are returning different hashes for these identical images.
How can i make sure they both return the same string?
Have you considered using md5_file?
http://www.php.net/manual/en/function.md5-file.php