Support the ongoing development of Laravel.io →
Requests Database Eloquent
Last updated 1 year ago.
0

You don't just get access to the file in the event handler, that would be a security risk. You can read about upload methods in HTML5 (for example drag and drop events in the browser). Other than that you can just use a regular form upload (with the correct enctype attribute for the form) which will upload the file and give you access to it in the controller.

0

actually i was posting form and doing operations. but problem is that i want to skip some records. that skipped records i am storing in an array. and that records i want to show in popup. so how can i do that in controller it self.?

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.