Re: md5sum() patch

From: Date: Thu, 15 Nov 2001 20:37:22 +0000
Subject: Re: md5sum() patch
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-70591@lists.php.net to get a copy of this message
Lenar Lõhmus wrote:
Alessandro Astarita wrote:
Il 17:25, giovedì 15 novembre 2001, derick@php.net ha scritto:
Then this will do the same: $sum = md5sum filename;
Do I have to depends on the external executable? ...in my opinion is not the right way.
+1 to the function
hm, what about just overloading the current md5 function? if given a string -> current behavior if given a file handle resource -> read file and return sum ? -- Hartmut Holzgraefe hartmut@six.de http://www.six.de +49-711-99091-77

« previous php.dev (#70591) next »