Navigation

Search

md5_file

Description

Returns the MD5 hash of the contents of the specified file.

Syntax

string md5_file (string $filename)



Parameter $filename

Expected type: String
Description: The name of the file



Return value

Expected type: String
Description: MD5 hash of the contents of the specified file


Notes

  • Equivalent to PHP function of the same name.
  • Only defined if PHP version is less than 4.2.0 (function didn't exist in PHP before then)
View all versions of this function