Recommend this page to a friend! | Stumble It! | Bookmark in del.icio.us |
All requests | > | What is the best PHP AJAX file upload class? | > | Request new recommendation | > | Featured requests | > | No recommendations | ||
by Joshua Njovu - 1 year ago (2014-11-12) ajax file upload
+1 | PHP programmers may always want to upload their files using AJAX but there are not so many examples about this. |
+1 | by Manuel Lemos 11100 - 1 year ago (2014-11-15) Comment You can either upload files via AJAX 2 in more recent browsers that support it, or you can use an hidden iframe and change the target attribute of the form to the iframe name. This general purpose forms class uses the later, so it works well even in older browsers. It uses the form_ajax_submit.php plugin to submit forms via iframe based AJAX requests. This plugin submits any form inputs you have in your forms, so it may include file or other types of inputs. You can take a look at the test_ajax_submit.php example script to learn how it works. The AJAX form submission demo shows that example script in action. |
Recommend package | |
|