added tips to lamer.bash help
[mirrors/Programs.git] / php / skripty / integrity_check.php
1 <?php
2
3 function file_chceck($file, $cycles = 4) {
4 $md5 = md5_file($file);
5 for(;$cycles>0;$cycles--) {
6 $last_md5 = $md5;
7 if( ($md5 = md5_file($file)) != $last_md5 ) { return 0; }
8 }
9 return 1;
10 }
This page took 1.04591 seconds and 4 git commands to generate.