PHP » GoLang |
login |
register |
about
|
hash_file(PHP 5 >= 5.1.2, PHP 7, PECL hash >= 1.1) hash_file — Generate a hash value using the contents of a given file Description
string hash_file
( string
$algo
, string $filename
[, bool $raw_output = FALSE
] )Parameters
Return Values
Returns a string containing the calculated message digest as lowercase hexits
unless Examples
Example #1 Using hash_file()
<?php The above example will output: 5c6ffbdd40d9556b73a21e63c3e0e904 See Also
|
more
Recently updated
more
Most requested
more
Last requests
|