Login   Register  
PHP Classes
elePHPant
Icontem

PHP AJAX Upload file: Process image files uploaded via AJAX

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files Example   Screenshots Screenshots   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-06-23 (3 months ago) RSS 2.0 feedNot enough user ratingsTotal: 908 This week: 1All time: 3,626 This week: 1,420Up
Version License PHP version Categories  
ajax-upload 1.0.2GNU General Public Lice...5HTTP, PHP 5, Files and Folders, AJAX
Description Author  

This class can process image files uploaded via AJAX.

It takes a form submission request to upload a file via AJAX and returns messages to the browser to communicate the result of the file processing.

The class returns error messages in case no file was uploaded, or the file name extension is not in the list of accepted extensions, or the file size was exceeded the allowed limit, or the file already exists in the destination directory.

If the file upload is valid, the class moves it to the destination directory and returns a HTML message to display the uploaded image file in the browser.

Picture of Ravi Kumar
Name: Ravi Kumar is available for providing paid consulting. Contact Ravi Kumar .
Classes: 4 packages by
Country: India India
Age: 30
All time rank: 2049129 in India India
Week rank: 770 Up60 in India India Up
Innovation award
Innovation award
Nominee: 1x

Screenshots  
  • Screenshot.png
  Files folder image Files  
File Role Description
Files folder imageassets (3 directories)
Accessible without login Plain text file image.php Example Example script
Accessible without login Plain text file index.html Data Auxiliary data
Accessible without login Plain text file README.md Data Auxiliary data
Plain text file upload.php Class Class source

  Files folder image Files  /  assets  
File Role Description
Files folder imagecss (1 file)
Files folder imageimg (1 file)
Files folder imagejs (2 files)

  Files folder image Files  /  assets  /  css  
File Role Description
  Accessible without login Plain text file style.css Data Auxiliary data

  Files folder image Files  /  assets  /  img  
File Role Description
  Accessible without login Image file loader.gif Icon Icon image

  Files folder image Files  /  assets  /  js  
File Role Description
  Accessible without login Plain text file jquery-1.10.1.min.js Data Auxiliary data
  Accessible without login Plain text file jquery.form.js Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 88%Total:908All time:3,626
 This week:1This week:1,420Up