If that is your hook.cgi code, it doesn't do anything ; it compiles sub hook and exits the program without calling it (actually as posted it won't even compile)
or if you're trying to use jQuery::File::Upload, then you're not copy/pasting well enough, so click jQuery::File::Upload and read and copy/paste better :)
See also Mojolicious::Lite +and jQuery +AJAX + Mojo::Template
And a copy-pasta for you:)
Also, there are checklists for that , Basic debugging checklist , brian's Guide to Solving Any Perl Problem, CGI Help Guide , Troubleshooting Perl CGI scripts
Yes, work through these checklists, when you find a problem on the list, use a solution from the list, when you find a problem not on the list (rare), post the error message and problem description here
brian's Guide to Solving Any Perl Problem, CGI Help Guide , Troubleshooting Perl CGI scripts
So examine your server configuration and compare to https://httpd.apache.org/docs/2.2/howto/public_html.html#cgi / Apache Tutorial: Dynamic Content with CGI
learn about the internet,Web Programming: For Beginners, to get an overall picture of how the internet works, how tcp/ip, sockets, html, ajax, all fit together.
In reply to Re: drag and drop file upload
by Anonymous Monk
in thread drag and drop file upload
by raks_diamond
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |