On Thu, 15 Nov 2001 17:25:24 +0100 (CET), [EMAIL PROTECTED] 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



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to