md5_file

来源:互联网 发布:我心中的全面小康知乎 编辑:程序博客网 时间:2024/04/28 16:29

md5_file

(PHP 4 >= 4.2.0, PHP 5)

md5_file — Calculates the md5 hash of a given file

Report a bug

 Description

string md5_file ( string $filename [, bool $raw_output = false ] )

Calculates the MD5 hash of the file specified by the filename parameter using the » RSA Data Security, Inc. MD5 Message-Digest Algorithm, and returns that hash. The hash is a 32-character hexadecimal number.

Report a bug

 Parameters

filename

The filename

raw_output

When TRUE, returns the digest in raw binary format with a length of 16.

Report a bug

 Return Values

Returns a string on success, FALSE otherwise.

Report a bug