Forum Moderators: coopster

Message Too Old, No Replies

Checksum of a directory

is it possible

         

stardoc

2:38 pm on Dec 16, 2006 (gmt 0)

10+ Year Member



I am trying to write a function wherein any change in the files in any folder on my webserver would shoot me an email alert. I thought that one easy way of doing it would be via monitoring files/folders for their checksum at periodic intervals but I have no clue how to calculate checksum for a file or folder via php.

Can anyone point me in the right direction. I tried searching on google, but I guess I might be using the wrong keywords..

henry0

3:54 pm on Dec 16, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I just was curious about it
did you try to G for: file checksum php?
the very first result has a class, exmaple and demo

stardoc

6:36 pm on Dec 16, 2006 (gmt 0)

10+ Year Member



thats a great find Henry. Thanks a ton