RalfEggert / zend-expressive-tutorial

Album tutorial for Zend\Expressive
BSD 3-Clause "New" or "Revised" License
25 stars 15 forks source link

Help - Uploading file #37

Open guilherme90 opened 7 years ago

guilherme90 commented 7 years ago

Hi guy, all right? I'm uploading the file, but the $request->getUploadedFiles() method is returning me an empty array. I honestly do not know why. Can you help me?

I have noticed that I submit the form for an action of it, so I can get it back using getUploadedFiles, but I send it to a different action, this method comes empty.

After all, how do I capture using a different action?

See this gist

img-return

Thanks :)