there is no way.
The reason is quite simple...
PHP itself stores the uploaded file on disk in the temporary upload path as
defined in PHP.ini.
So it is stored to disk anyway, regardless of what you do after it has been
uploaded.
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
----- Original Message -----
From: "John Antony Riga" <ja.riga@yahoo.com>
To: <fw-mvc@lists.zend.com>
Sent: Monday, December 29, 2008 9:31 AM
Subject: [fw-mvc] File uploads question (how to avoid file on discs)
> Hello,
>
> I'm discovering the file upload feature provided by the framework. I'm
> wondering is there a way not to put the uploaded file on disc but to keep
> it in memory until it's transfered to the databases ?
> I'd rather use that solution then to transfert the elements on discs.
>
> Thanks
> JA.
>
>
>
没有评论:
发表评论