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

It looks to me (And not all your code is there, so I can't be sure),but you haven't uploaded the file.

With uploads, the normal process is to post to a controller which then receives the file, and then move the file to the desired location.

From there, you can do what you want, get the info on the file and save to the DB or whatever.

If you run <code>dd(Input::all());</code> at the top of your controller, what do you get?

Have you checked that the route to the controller is <code>Route::post()</code> and not <code>Route::get()</code> ?

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.