(PHP 4 >= 4.2.0, PHP 5, PHP 7)
md5_file — 锟斤拷锟斤拷指锟斤拷锟侥硷拷锟斤拷 MD5 散锟斤拷值
$filename
[, bool $raw_output
= FALSE
] ) : string
使锟斤拷 » RSA 锟斤拷锟捷帮拷全锟斤拷司锟斤拷 MD5 锟斤拷锟斤拷锟姐法锟斤拷锟斤拷 filename
锟侥硷拷锟斤拷 MD5 散锟斤拷值锟斤拷锟斤拷锟截★拷锟斤拷散锟斤拷值为 32 锟街凤拷锟斤拷十锟斤拷锟斤拷锟斤拷锟斤拷锟街★拷
filename
锟侥硷拷锟斤拷
raw_output
锟斤拷锟斤拷锟斤拷锟斤拷锟轿� TRUE
锟斤拷锟斤拷么锟斤拷锟斤拷摘要锟斤拷锟斤拷原始锟斤拷 16 位锟斤拷锟斤拷锟狡革拷式锟斤拷锟截★拷
锟缴癸拷锟斤拷锟斤拷锟街凤拷锟斤拷锟斤拷锟斤拷锟津返伙拷 FALSE
锟斤拷
锟芥本 | 说锟斤拷 |
---|---|
5.1.0 | 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷 API锟斤拷锟斤拷锟斤拷味锟斤拷锟杰癸拷锟斤拷戏锟阶帮拷锟绞癸拷酶煤锟斤拷锟斤拷锟斤拷锟斤拷锟� md5_file('http://example.com/..')锟斤拷 |
Example #1 md5_file() 使锟矫凤拷锟斤拷
<?php
$file = 'php-5.3.0alpha2-Win32-VC9-x64.zip';
echo 'MD5 file hash of ' . $file . ': ' . md5_file($file);
?>