PHP uses the jQuery plug-in ajaxFileUpload to implement asynchronous file upload. _ PHP Tutorial

Source: Internet
Author: User
PHP uses the jQuery plug-in ajaxFileUpload to implement asynchronous file upload ,. PHP uses the jQuery plug-in ajaxFileUpload to implement asynchronous file upload. the most popular JQuery image Upload plug-in is Uploadify, which has good results, however, because the mobile phone does not use PHP combined with the jQuery plug-in ajaxFileUpload to implement asynchronous file upload,

The most popular JQuery image Upload plug-in is Uploadify, which works very well. However, because flash is not supported by mobile phones, you have to find another file Upload plug-in. Later I found that the ajaxFileUpload plug-in is quite good, so I used this plug-in for asynchronous file upload. There are also a lot of articles on the use of the ajaxFileUpload plug-in on the Internet, but I found that there is no PHP version, so the processing on the server side this time uses the PHP language for processing.

I. details about the syntax parameters of the ajaxFileUpload plug-in

  Principle:Ajaxfileupload is implemented by listening to the onload method of iframe. after processing is completed from the server, the onload event of iframe is triggered to call its binding method, obtain the data body returned by the server in iframe in the binding method (common text, json, xml, script, html supported)

  Syntax:$. AjaxFileUpload ([options])

II. let's take a look at how to use it.

1. first introduce the plug-in ajaxFileUpload.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.