How to find crc32 of big files ?

Posted by Arsheep on Stack Overflow See other posts from Stack Overflow or by Arsheep
Published on 2010-06-05T18:13:30Z Indexed on 2010/06/05 18:22 UTC
Read the original article Hit count: 191

Filed under:
|
|

The PHP's crc32 support string as input.And For a file , below code will work OFC.

crc32(file_get_contents("myfile.CSV"));

But if file goes huge (2 GB) it might raise out of memory Fatal error.

So any way around to find checksum of huge files ?

© Stack Overflow or respective owner

Related posts about php

Related posts about checksum