|
hash_file
Generate a hash value using the contents of a given file
(PHP 5 >= 5.1.2, PECL hash:1.1-1.5)
Parameters
Return ValuesReturns a string containing the calculated message digest as lowercase hexits unless raw_output is set to true in which case the raw binary representation of the message digest is returned. ExamplesExample 866. Using hash_file()<?php The above example will output: 5c6ffbdd40d9556b73a21e63c3e0e904
See Also
|