note 45658 deleted from function.md5-file by aidan
| From: | aidan@php.net | Date: | Tue, 14 Sep 2004 15:32:55 +0000 |
| Subject: | note 45658 deleted from function.md5-file by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-76676@lists.php.net to get a copy of this message | ||
Note Submitter: thecelestialcelebi%hotmail&.com
----
<?php
if (!function_exists('md5_file'))
{
function md5_file($file)
{
if (!file_exists($file))
{
trigger_error('md5_file(): Unable to open file', E_USER_WARNING);
}
else
{
return md5(file_get_contents($sFilename));
}
}
}
?>
This is the right code ofcourse... :)