Hi !
With the PHP MD5_file function I want to check if a file was modified. So I get the MD5 hash when I created the file and then after a while I can check if the file was modified by someone else if I check the MD5 hash of the file again.
That works pretty good but I'm not sure if the hash is equal on all php versions 4.4 and 5.0.x as an example. Does someone knows anything about that ?
I think the MD5 hash for a unmodified file should be the same on all systems, versions and so on... or am I wrong ?
Thank's a lot for your help !!!
MD5_file function
Moderator: General Moderators
Thank's a lot feyd !
Thank's a lot for your explication. That helped. I think if it would not be like that then if mysql (or any other company..) provides the hash of their downloads, the visitor who downloads the file can't check it...
Best Regards and thank's !!
Best Regards and thank's !!