jd2007 Posted July 18, 2007 Share Posted July 18, 2007 can i use md_file() to see wheter two game download links are same ? 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 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 ? 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. 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. 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
Archived
This topic is now archived and is closed to further replies.