md5_file()

It calculates the md5 hash of a given file

Example

<?php
echo md5_file(“test.txt”);
?>

Output

be6f273c2ae6f2740e395f525bf8b645

Share