PHP:
<?php
function file_crc($file)
{
$file_string = file_get_contents($file);
$crc = crc32($file_string);
return sprintf("%u", $crc);
}
$spr = '/var/www/update/k.spr';
echo 'k.spr '.file_crc($spr).'';
?>
Someone how it works? If I can add more .pic and .dat?