Il 16:28, giovedì 15 novembre 2001, Derick Rethans ha scritto:
> we already have md5() as a function. md5sum() will then be the same as:
>
> echo md5(join ("", file ("filename")));

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).

-- 
Alessandro 'Asterix75' Astarita <[EMAIL PROTECTED]>
Web site: http://asterix75.capri.it
E-commerce software: http://www.alfacomm.it/

-- 
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