2008年12月29日星期一

Re: [fw-mvc] File uploads question (how to avoid file on discs)

-- John Antony Riga <ja.riga@yahoo.com> wrote
(on Monday, 29 December 2008, 12:31 AM -0800):
> 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.

Actually, no; PHP's file upload mechanism writes a temporary file during
upload. The only way you would be able to do differently is to write
your own C extension for PHP.

--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/

没有评论: