On Thu, 15 Nov 2001, Hartmut Holzgraefe wrote:

> Lenar Lõhmus 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

That is a possibility, better then having a new function. Although it
makes it a bit obscure IMO. But I can live with it :)

Derick


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