PHP Classes

Advanced Upload Class: Process forms for uploading multiple files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-03-10 (8 years ago) RSS 2.0 feedStarStarStar 53%Total: 6,519 This week: 3All time: 305 This week: 456Down
Version License PHP version Categories  
auc 1.0GNU General Publi...5.0.0PHP 5, Files and Folders
Description Author  

This class can be used to process forms for uploading multiple files.

The class can check whether the files are not empty, nor exceed a given size limit.

It can also check the file type against lists of allowed and denied file types.

The class can also make file names safer by replacing eventual spaces in the names by underscores.

If there was an error while uploading files, the class throws an exception object that provides information about the error code and an explanatory error message.

If all checks are passed, the class processes the uploaded files moving them to a given directory. If the directory does not exist, the class may create it.

Picture of Mark Davidson
Name: Mark Davidson <contact>
Classes: 3 packages by
Country: United Kingdom United Kingdom
Age: 28
All time rank: 17710 in United Kingdom United Kingdom
Week rank: 177 Equal8 in United Kingdom United Kingdom Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file auc.demo.php Example Demo File of advanced Upload Class
Plain text file Class Core Class of advanced Upload Class and TriggerErrorException Class.

 Version Control Unique User Downloads Download Rankings  
 0%Total:6,519All time:305
 This week:3This week:456Down
User Ratings User Comments (1)  
 All time