PHP iframe no flush upload file implementation code

Source: Internet
Author: User
upload files without having to refresh the page, The friend who is studying this piece can make a reference.

For the contents of the IFRAME, you can refer to: An IFRAME tag object in HTML. The code is as follows:

 
      
      
       iframe No refresh upload  
     ajax no refresh upload demo only allowed to upload the image format of jpg,gif,png, size not more than 1000K, the uploaded image will be placed in the temporary folder 
The browser must support JavaScript and do not mask the IFRAME, otherwise it will not see the effect
All pictures in temp folder

php No Refresh upload method, more time is combined with Ajax to achieve, here is a reference example: PHP ajax no refresh upload image Example. If you are not aware of the IFRAME refresh, it is recommended that you read the following: IFrame Refresh method.
  • 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.