[EMAIL PROTECTED] wrote: > > On Thu, 15 Nov 2001, Alessandro Astarita wrote: > > > 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). > > Then this will do the same: > $sum = `md5sum filename`;
This is as good as never an argument for not including a new function. We want PHP to remain portable, don't we? +1 on md5_file(). - Stig -- 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]