Kryptix Posted March 25, 2010 Share Posted March 25, 2010 I need to use PHP to check a files MD5 checksum. I've Google'd and found a few classes but was unable to get any of them working. I need it to be as simple and small as possible, ideally just one file without using external classes. Has anyone got any idea how I could do this? Link to comment https://forums.phpfreaks.com/topic/196447-md5-checksum-of-file/ Share on other sites More sharing options...
trq Posted March 25, 2010 Share Posted March 25, 2010 md5_file. Link to comment https://forums.phpfreaks.com/topic/196447-md5-checksum-of-file/#findComment-1031463 Share on other sites More sharing options...
Kryptix Posted March 25, 2010 Author Share Posted March 25, 2010 Wow... Why are people making huge classes if that works? Is that new? Thanks man. Link to comment https://forums.phpfreaks.com/topic/196447-md5-checksum-of-file/#findComment-1031465 Share on other sites More sharing options...
oni-kun Posted March 25, 2010 Share Posted March 25, 2010 Wow... Why are people making huge classes if that works? Is that new? Thanks man. I could write a clone function in 6-10 lines with md5, It's not large. And by version, it came out 5.0.0, Fairly old release. Link to comment https://forums.phpfreaks.com/topic/196447-md5-checksum-of-file/#findComment-1031482 Share on other sites More sharing options...
trq Posted March 25, 2010 Share Posted March 25, 2010 And by version, it came out 5.0.0, Fairly old release. md5_file is available in 4.2.0 and above. Link to comment https://forums.phpfreaks.com/topic/196447-md5-checksum-of-file/#findComment-1031577 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.