[php]md5_file 計算指定文件的 MD5 散列值


官方範例
<?php
$file = 'php-5.3.0alpha2-Win32-VC9-x64.zip';

echo 'MD5 file hash of ' . $file . ': ' . md5_file($file);
?>

註:如果被設置為 TRUE,那麼報文摘要將以原始的 16 位二進制格式返回。

arrow
arrow
    全站熱搜

    stockwfj3 發表在 痞客邦 留言(0) 人氣()