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