From 9559a49a01007601ba47d68197ed2eef82f7b764 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Wed, 12 Dec 2001 07:53:11 +0000 Subject: [PATCH] - Add md5_file documentation git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@64787 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/strings.xml | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/functions/strings.xml b/functions/strings.xml index 825e1edfa3..e36ef1eb0b 100644 --- a/functions/strings.xml +++ b/functions/strings.xml @@ -1,5 +1,5 @@ - + String functions Strings @@ -1539,7 +1539,36 @@ $clean = ltrim($binary,"\0x00..\0x1F"); The hash is a 32-character hexadecimal number. - See also crc32. + See also: crc32 and md5_file + + + + + + + md5_file + Calculates the md5 hash of a given filename + + + Description + + + string md5_file + string filename + + + + Calculates the MD5 hash of the specified + filename using the + RSA Data Security, Inc. + MD5 Message-Digest Algorithm, and returns that hash. + + + This function has the same purpose of the command line utility + md5sum. + + + See also: md5 and crc32