Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Multiple File Uploads
  • Hello, Could anyone provide an example of how to deal with multiple file uploads at the same time? Let's say I had 3 different upload boxes on my form .. how would I get fuels upload class to process these?
  • Exactly the same way as for one file, so in one go. If you need different validation rules (or save rules) for each of them, you'll have to keep your configuration generic, and register a callback (there's an example with a closure in the docs) to deal with them individually.
  • Thanks WanWizard. I must of missed that section in the docs.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion