note 45604 modified in function.md5-file by aidan

From: Date: Tue, 14 Sep 2004 15:32:50 +0000
Subject: note 45604 modified in function.md5-file by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-76675@lists.php.net to get a copy of this message
Here, exactly as it is in PHP itself: <?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)); } } } ?> --was-- Here, exactly as it is in PHP itself: <?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)); } } ?> http://php.net/manual/en/function.md5-file.php

« previous php.notes (#76675) next »