md5_file (php 4> = 4.2.0, php 5, php 7, php 8) md5_file calcula o hash md5 de um determinado arquivo
<?php
$file = 'php-5.3.0alpha2-Win32-VC9-x64.zip';
echo 'MD5 file hash of ' . $file . ': ' . md5_file($file);
?>
SAMER SAEID