Re: md5sum() patch
| From: | Hartmut Holzgraefe | 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: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-77Il 17:25, giovedì 15 novembre 2001, derick@php.net ha scritto:+1 to the functionThen this will do the same: $sum =Do I have to depends on the external executable? ...in my opinion is not the right way.md5sum filename;