2009年3月26日星期四

Re: [fw-mvc] form->getValues and file upload

Why would you need to do getValues more than once?

On Thu, Mar 26, 2009 at 7:23 PM, Ed Lazor <edlazor@internetarchitects.biz> wrote:
The problem is that you can't do getValues more than once.  Or, you
have to make sure you handle the file attachments before doing
getValues.  Why not just leave the tmp files, since they get removed
once the PHP script is done processing?


On Thu, Mar 26, 2009 at 2:19 PM, Thomas Weidner <thomas.weidner@gmx.at> wrote:
> getValues() forces the file to be received.
> As received files are no longer temporary, they are also not available
> within the temporary directory.
>
> It would not make sense to have the received file duplicated by the
> temporary file.
>
> Greetings
> Thomas Weidner, I18N Team Leader, Zend Framework
> http://www.thomasweidner.com


没有评论: