note 33969 deleted from function.md5-file by nlopess

From: Date: Sun, 12 Sep 2004 17:51:49 +0000
Subject: note 33969 deleted from function.md5-file by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-76543@lists.php.net to get a copy of this message
Note Submitter: Mino at animekult dot de ---- If you not running => PHP 4.2.0 here's a function. The file needn't be writeable. ---------------------- <?php function md5_of_file($file) { if(!file_exists($file)) { return false; } else { $filecontent = implode("", file($file)); return md5($filecontent); } } ?>

« previous php.notes (#76543) next »