I am using fileinput widget form krajee: http://plugins.krajee.com/file-input
What I am doing wrong using \'upload\' method ? When I upload files by pressing upload but
If you are just looking for a file upload plugin, I recommend Ravishanker Kusuma's Hayageek jQuery File Upload plugin
:
http://hayageek.com/docs/jquery-upload-file.php
He breaks down the process into three simple steps, that basically look like this:
// (1)
// (1)
Upload // (2)
The final step is to have the PHP file specified in the jQuery code (in this case my_php_processor.php
) to receive and process the file:
my_php_processor.php:
Note the relationship between myfile
in the PHP ($_FILES["myfile"]
), and the filename specified in the jQuery code block.