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?
<?php
$file = file_get_contents("image.jpg");
$hash = md5($file);
$hash = $hash.substring(3);
?>