[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
    on Wednesday, February 18, 2004 5:18 PM said:

> I dont understand what you are doing with the md5, and
> 
> i assume YOU will know which file is the latest version.
> 
> this is what i have to try and find out to prevent that.

the md5 thing will just give you an easy way to determine if two (or
more) files are different from each other. even if there's one byte
different within the files, you'll get a different hash from the md5
function.

if you don't know what an md5 hash is you can use this as an example:

<?php

        echo md5("stereolab")."<br/>";
        echo md5("stareolab")."<br/>";

?>


it's possible to perform an md5 hash on an entire file from the command
line so you'll need to figure out how to do that. if you so choose to do
that at all.



chris.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to