
Cassiano Aquino - 2008-09-06 20:15:08 -
In reply to message 2 from Matt Belanger
Well i would like to give you a sugestion about the file names you generate...
This line..
// I did not understand why you did like this
$imageName = strtolower(preg_replace('/\.tmp/','',$imageNamePcs[count($imageNamePcs)-1]));
i realy dontīlike this kind a rename method...
So a changed for this.
$imageName = md5(uniqid(time()));
I think itīs safe for images name not be replaced...
I hope this tips are usefull, your class is very good :)