Hi Monks
Is there a way to handle multiple file uploads on the server side? i want the user to be able to select an unlimited amount of files and upload them all at one time. I realize that all browsers in use may not support the multiple tag.
#!/usr/bin/env perl use strict; use warnings; use Mojolicious::Lite; get '/upload' => sub { my $c = shift; $c->render('simpleUploadForm'); }; app->start; __DATA__ @@ simpleUploadForm.html.ep <!DOCTYPE html> <html> <form action='/handleUpload' autocomplete="off"> Select Files: <input type="file" name="img" multiple> <input type="submit"> </html>
In reply to Handling multiple file upload with Mojo by trippledubs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |