Re: md5sum() patch
| From: | Martin Jansen | Date: | Thu, 15 Nov 2001 16:32:13 +0000 |
| Subject: | Re: md5sum() patch | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70575@lists.php.net to get a copy of this message | ||
On Thu, 15 Nov 2001 17:25:24 +0100 (CET), derick@php.net wrote:
>On Thu, 15 Nov 2001, Alessandro Astarita wrote:
>
>> In this way you load in memory all the file contents and then you hash it.
>> It's not the same. My function is the php version of the md5sum utility that
>> you can find at example in Linux (textutils package).
>
>Then this will do the same:
>$sum =
md5sum filename;
I think it would be much nicer to have such a function in
the PHP core, than always executing an external program.
- Martin