PHP Classes

Advanced Upload Class: Process forms for uploading multiple files

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 49%Total: 6,654 All time: 310 This week: 455Down
Version License PHP version Categories
auc 1.0GNU General Publi...5.0.0PHP 5, Files and Folders


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
Age: 37
All time rank: 18611 in United Kingdom
Week rank: 290 Down9 in 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  
This week:0
All time:310
This week:455Down
User Ratings User Comments (1)
 All time