librelist archives

« back to archive

File upload in $request->FILES

File upload in $request->FILES

Loic d'Anterroches
2011-12-20 @ 20:29

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.


Indefero - Project management and code hosting -
Photon - High Performance PHP Framework -
Céondo Ltd - Web + Science = Fun -