I see a lot of function for crc32_file, but for php version >= 5.1.2 don't forget you can use this :
<?php
function crc32_file($filename)
{
return hash_file ('CRC32', $filename , FALSE );
}
?>
Using crc32(file_get_contents($filename)) will use too many memory on big file so don't use it.