note 16151 modified in function.md5 by irc-html
| From: | irc-html@php.net | Date: | Sun, 30 Dec 2001 07:46:54 +0000 |
| Subject: | note 16151 modified in function.md5 by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-23970@lists.php.net to get a copy of this message | ||
[Ed Note:
See md5_file() which will calculate the MD5 hash for the given file.
--irc-html@php.net]
Here is a short and simple way of getting MD5 checksum on a file content.
print md5(implode("",file('filname.ext')));
--was--
Here is a short and simple way of getting MD5 checksum on a file content.
print md5(implode("",file('filname.ext')));
http://www.php.net/manual/en/function.md5.php