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.
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.?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community