note 43740 deleted from function.md5-file by nlopess
| From: | nlopess@php.net | Date: | Sun, 12 Sep 2004 17:51:42 +0000 |
| Subject: | note 43740 deleted from function.md5-file by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-76544@lists.php.net to get a copy of this message | ||
Note Submitter:
----
Yet Another Implementation of 'md5_file' in PHP 4.1.x:
if (! function_exists ("md5_file")) {
function md5_file ($path) {
if (! is_readable ($path)) { return false; }
$ret = md5 (implode ("", file ($path)));
return ( ($ret) ? $ret : false);
}
}