Re: md5sum() patch
| From: | Stig S. Bakken | Date: | Sat, 17 Nov 2001 06:40:17 +0000 |
| Subject: | Re: md5sum() patch | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70705@lists.php.net to get a copy of this message | ||
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;
This is as good as never an argument for not including a new function.
We want PHP to remain portable, don't we?
+1 on md5_file().
- Stig