2

I've user Symfony for the my application service. One service call send file array (multiple files) in post. how can i get that?

because when I use below code and dump $uploadedFiles is empty. when send single image, it work, any help?

public function createAction(Request $request) {
    $uploadedFiles = $request->files;    
}

this not about multiple file upload as Multiple file upload with Symfony2 question. This is about how to get multiple files (file array) in Request

Community
  • 1
  • 1
Miuranga
  • 2,463
  • 10
  • 51
  • 81

0 Answers0