Lenar Lõhmus wrote: > Alessandro Astarita wrote: >>Il 17:25, giovedì 15 novembre 2001, [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://www.six.de +49-711-99091-77 -- 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]