File: generateMD5.php

Recommend this page to a friend!
  Classes of Unay Santisteban  >  PHP File Integrity Check  >  generateMD5.php  >  Download  
File: generateMD5.php
Role: Example script
Content type: text/plain
Description: Aux
Class: PHP File Integrity Check
Check if directory files change using MD5 hashes
Author: By
Last change: Update generateMD5.php
Date: 6 years ago
Size: 226 bytes
 

Contents

Class file image Download
<?php
include 'libraries/integrity.md5.class.php';

$integrity = new integrity('path/to/check/directory');

if(
$integrity->getMd5Hashes('hash.md5') > 0){
    echo
"MD5 File Hashes Generated!";
} else {
    echo
"Error!";
}
?>


For more information send a message to info at phpclasses dot org.