jd2007 Posted July 18, 2007 Share Posted July 18, 2007 can i use md_file() to see wheter two game download links are same ? Quote Link to comment https://forums.phpfreaks.com/topic/60539-what-does-md_file-do/ Share on other sites More sharing options...
lur Posted July 18, 2007 Share Posted July 18, 2007 There's no such function "md_file()", if you're referring to md5_file() ... md5_file -- Calculates the md5 hash of a given file http://en.wikipedia.org/wiki/MD5 http://en.wikipedia.org/wiki/Hash_function Quote Link to comment https://forums.phpfreaks.com/topic/60539-what-does-md_file-do/#findComment-301163 Share on other sites More sharing options...
jd2007 Posted July 18, 2007 Author Share Posted July 18, 2007 yes....md5_file()...sorry...can i use md_file() to see wheter two game download links are same ? Quote Link to comment https://forums.phpfreaks.com/topic/60539-what-does-md_file-do/#findComment-301166 Share on other sites More sharing options...
lur Posted July 18, 2007 Share Posted July 18, 2007 Links are usually strings so you should be able to compare them as usual. If you're talking about comparing files, yes, md5_file() can be used to see if two files are identical. Quote Link to comment https://forums.phpfreaks.com/topic/60539-what-does-md_file-do/#findComment-301174 Share on other sites More sharing options...
MadTechie Posted July 18, 2007 Share Posted July 18, 2007 yes if you MD5 the same file your get the same HASH. Quote Link to comment https://forums.phpfreaks.com/topic/60539-what-does-md_file-do/#findComment-301175 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.