mathieu leddet wrote:
I have a simple question : how can I ensure that 2 files are identical ? How about this ? --------8<------------------------------------------------------ function files_identical($path1, $path2) { return (file_get_contents($path1) == file_get_contents($path2)); } --------8<------------------------------------------------------ Note that I would like to compare any type of files (text and binary).
http://php.net/md5_file -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php