Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.84K
1 Posted Topic
Hi everyone! I'm trying to manage images uploads using my own class which renames the uploaded file prepending a random string: [CODE=php]define('UPLOAD_PATH', realpath(APPLICATION_PATH . '/../public/uploads')); class Lib_Form_Element_File extends Zend_Form_Element_File { public function init() { if($this->isUploaded()) { $this->setDestination(UPLOAD_PATH); $realname = $this->getFileName(null, false); do { $filename = UPLOAD_PATH . '/' . md5(time()) …
The End.
keeper82