Generate MD5 Hash of File using PHP

md5_file function

<?php

$filename = 'test.txt';
$digest = md5_file($filename);

echo $digest;

Leave a Comment

Cancel reply

Your email address will not be published.