Support the ongoing development of Laravel.io →
Requests Database Forms
Last updated 2 years ago.
0

Well $request->all() is getting the inputs then replacing the input array with any keys from the file inputs, so you are going to keep getting the original file back into your result when calling $request->all().

If you just want the inputs, which in your case, you added the filename to them, you can try

$request->input(); // instead of $request->all();

to just get the inputs without the files.

Last updated 8 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Deagle deagle Joined 23 Jan 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.