PHP Classes
elePHPant
Icontem

What is the best PHP AJAX file upload class?: I want to upload files using AJAX

Recommend this page to a friend!
  All requests RSS feed  >  What is the best PHP AJAX file upload...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

What is the best PHP AJAX file upload class?

Edit

by Joshua Njovu - 2 years ago (2014-11-12)

I want to upload files using AJAX

This request is clear and relevant.
This request is not clear or is not relevant.

+7

PHP programmers may always want to upload their files using AJAX but there are not so many examples about this.

Ask clarification

3 Recommendations

File Upload With AJAX: Handle file uploads and returns JSON response

This recommendation solves the problem.
This recommendation does not solve the problem.

+2

by Bharat Parmar package author package author Reputation 385 - 1 year ago (2016-04-11) Comment

User can upload the file with AJAX. Once the file will be selected by User, the Script will confirm user to upload file or not. If user allow to upload file, it will be uploaded to the server and return the File Name and Download Link of the uploaded file.


PHP Multi File Uploader: Validate and process one or more file uploads

This recommendation solves the problem.
This recommendation does not solve the problem.

-1

by MOUSTAFA MOHAMMED ELGAMMAL package author package author Reputation 185 - 1 year ago (2016-02-29) Comment

you can upload many file, but this not Ajax.

  • 1 Comment
  • 1. by Dave Smith - 1 year ago (2016-03-02) Reply

    AJAX required in request


PHP Forms Class with HTML Generator and JavaScript Validation: HTML forms generation and validation.

This recommendation solves the problem.
This recommendation does not solve the problem.

+2

by Manuel Lemos package author package author Reputation 17120 - 2 years 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.

  • 1 Comment
  • 3. by Ilyos olimov - 1 year ago (2016-05-27) in reply to comment 2 by Manuel Lemos Reply

    Hi bro, i need uploader for my blog script. now i can upload multiple photos but it is uploading bottom of the article and it is hard to understand

    If i write text then uload photo and then write text upload photo and after inserting i could view it like this it will be perfect. Can you help me


Recommend package
: 
: