Re: crc check for JPEG file exists

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Olav Mørkrid wrote:

> is crc32() an acceptable way of managing whether a JPEG file exists
> (in a database or similar collection)?
> 
> i mean doing a crc32() on the binary data of the JPEG file, and then
> check the database if there is already another entry with the same
> CRC.
> 
> the database has relatively few images (some thousands).

I use an md5 checksum for that sort of thing. 


/Per Jessen, Zürich

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux