Re: md5sum() patch

From: Date: Thu, 15 Nov 2001 16:23:25 +0000
Subject: Re: md5sum() patch
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-70572@lists.php.net to get a copy of this message
Il 16:28, giovedì 15 novembre 2001, Derick Rethans ha scritto: > we already have md5() as a function. md5sum() will then be the same as: > > echo md5(join ("", file ("filename"))); 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). -- Alessandro 'Asterix75' Astarita <aleast@capri.it> Web site: http://asterix75.capri.it E-commerce software: http://www.alfacomm.it/

« previous php.dev (#70572) next »