Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Unique IDs for sorting images

Name: Anonymous 2009-09-14 3:51

I've got a problem. I been using MD5 hash as the name for images, but it's too damn long. What would you guys suggest as a shorter alternative solution?

Name: Anonymous 2009-09-14 10:05

Here's one that will fit into 4 bytes
<?php
$file = file_get_contents("image.jpg");
$hash = md5($file);
$hash = $hash.substring(3);
?>

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List