note 17762 deleted from function.md5-file by jimw

From: Date: Wed, 02 Jan 2002 00:45:28 +0000
Subject: note 17762 deleted from function.md5-file by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-24059@lists.php.net to get a copy of this message
For older versions you can use: $md5 = exec("md5sum $dir/$file"); $md5 = substr($md5,0,32); $md5 will now contain the md5 checksum of the file. Of course your system needs to have the md5sum program installed, and executable by the owner of the webserver process (usually nobody).

« previous php.notes (#24059) next »