Re: [fw-general] Zend_Form_Element_File and random files name

2009-07-22 Thread Muhammad Ali
-general@lists.zend.com Sent: Tuesday, July 21, 2009 3:58 AM Subject: Re: [fw-general] Zend_Form_Element_File and random files name Hi Pete, So far my findings are as follows In Zend_File_Transfer_Adapter_Http line 163 contains following code $filename = $rename-getNewName

[fw-general] Zend_Form_Element_File and random files name

2009-07-20 Thread Muhammad Ali
Hi I am trying to have time() being used for uploaded files and not the name provided by the client(browser), I think I can work around but wanted to check if anyone else has done similar stuff or what is the best way to do this? As by default doing getValue() on file element will upload it

Re: [fw-general] Zend_Form_Element_File and random files name

2009-07-20 Thread Muhammad Ali
: Tuesday, July 21, 2009 12:38 AM To: Muhammad Ali Subject: Re: [fw-general] Zend_Form_Element_File and random files name Take a look at http://framework.zend.com/manual/en/zend.file.transfer.filters.html#zend.file.transfer.filters.rename - pw On Mon, Jul 20, 2009 at 4:28 PM, Muhammad Ali imjob

Re: [fw-general] Zend_Form_Element_File and random files name

2009-07-20 Thread Muhammad Ali
Sent: Tuesday, July 21, 2009 2:06 AM To: Muhammad Ali Subject: Re: [fw-general] Zend_Form_Element_File and random files name I haven't done it, but I would think extending the bfilter class with a custom implementation would do the trick. - pw On Jul 20, 2009 6:04 PM, Muhammad Ali imjob