Re: [PATCH] Passthrough MD5/SHA1 calculation of uploaded files
| From: | Richard Quadling | Date: | Wed, 09 May 2007 08:51:03 +0000 |
| Subject: | Re: [PATCH] Passthrough MD5/SHA1 calculation of uploaded files | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29370@lists.php.net to get a copy of this message | ||
On 08/05/07, Richard Lynch <ceo@l-i-e.com> wrote:
On Tue, May 8, 2007 9:13 am, David Santinoli wrote: If there's enough interest in this, I will rework the patch according to Sara's hint. I'd have to be +1 on making more than just the 2 hashes available for this feature, though if it's a *TON* of work...Could the result be ... $_FILES[userfile]["hash"]["md5"] / $_FILES[userfile]["hash"]["sha1"] If you SOMEHOW didn't know what hash had been asked for, you would have to go through a list to find the one saved in $_FILES. Using a key for "hash", you know which hash a lot easier. -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"