Category Archives: Zend Framework

Unique filenames when uploading using Zend_Filter_File_Rename (Zend Framework)

I came across a scenario today where I needed to ensure that files uploaded always had a unique name and wouldn’t over-write a file which has the same name. ZF provides this facility but it’s not particularly well documented and I had some troubles using a couple of examples I found across the web. Alas, here is the solution.
Continue reading