I was just wondering if anyone ( usin PHP 4.0.1pl2 ) has written a script that computes a hash value for a file ( txt or otherwise ), then stores the newly computed value in a safe location, allowing the admin. to check the same file at a later date for tampering? ( the hash value would have changed )?
I was attempting to work out a solution using the uniqid() function but to no avail.
In case it helps, I am using the win32 binary.
Thanks, -K.