md5_file
md5_file
Calculates the md5 hash of a given file
**md5_file** string $filename bool $binary
Calculates the MD5 hash of the file specified by the
parameter using the
, and returns that hash.
The hash is a 32-character hexadecimal number.
filenameRSA Data Security, Inc.
MD5 Message-Digest Algorithm
filenameThe filename
binaryWhen true, returns the digest in raw binary format with a length of
16.
Returns a string on success, false otherwise.
**Voorbeeld: Usage example of **
<?php
$file = '/examples/book.xml';
echo 'MD5 file hash of ' . $file . ': ' . md5_file($file);
?>
hash_file``hash_init``md5