I want to understand this plugin: https://github.com/blueimp/jQuery-File-Upload/wiki/API , but not new, I think many have come across, in general, I connected all the files that I needed, initialized the plugin, upload files here bang:

<input id="fileupload" type="file" name="files[]" data-url="server/php/" multiple> 

What is this? Yes! html5 it is the most!

Question: What can I do if I can’t (or don’t want to) use html5 in this plugin, what should I do?

upd 1. Ok, I apologize, I misled something, most likely the problem is not with html5, but with the paths, created the uploads folder in the root, the attribute of the tag is:

 <input id="fileupload" type="file" name="files[]" data-url="/uploads/" multiple> 

Propbyu files to fill, but it swears at:

 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /uploads/ was not found on this server.</p> </body></html> 

In the sense of this answer comes to me.

  • what doesn't suit you? data attributes? or attribute multiple , which not all browsers support? what exactly? - Specter
  • the fact that the plugin does not work, yes, here is the url in the data-url, which in the usual html (tobish not in html5) is simply not present, I don’t know how to get out, since this is immediately an error (about the save paths) in any browser . - Smash
  • one
    ahhh !!! I apologize, it is my own fault, there simply must be a file in the uploads which is a nt php script, which will already be processing further all that has come from the client. - Smash