It's easy to use. md5_file is useless to 2 GB files. & lt ;? Php ?md5filemd5_file("=1.zip & quot;); & nbsp; echo $ md5file ;? The >code is very simple. if the md5value is obtained, if 1.zip is several hundred megabytes or smaller, the md5 value can be read. if the file is large and I test more than 2 GB, it is easy to use, md5_file is useless for 2 GB files
$ Md5file = md5_file ("1.zip ");
Echo $ md5file;
?>
The code is very simple. if the md5value is obtained, if 1.zip is several hundred megabytes or smaller, the md5 value can be read. if the file is large and I test more than 2 GB, the value cannot be obtained. the page waits for a while and the display
Fatal error: Maximum execution time of 30 seconds exceeded in F: \ file \ getMD5.php on line 2
Tutorial
------ Solution --------------------
MD5 is used to extract data. 2 GB is naturally too large and will time out.
------ Solution --------------------
Set_time_limit (0 );
$ Md5file = md5_file ("1.zip ");
Echo $ md5file;