librelist archives

« back to archive

File upload in $request->FILES

File upload in $request->FILES

From:
Loic d'Anterroches
Date:
2011-12-20 @ 20:29
Hello,

at the moment, $request->FILES is never populated, the file uploads are
always put in the $request->POST. This is not very nice as years of
using PHP have trained all of us to rely on $_POST & $_FILES, thus we
naturally expect to have $request->FILES.

So, I am going to change the $request object to put the uploaded files
in the FILES property.

loïc

--
Indefero - Project management and code hosting - http://www.indefero.net
Photon - High Performance PHP Framework - http://photon-project.com
Céondo Ltd - Web + Science = Fun - http://www.ceondo.com