Login   Register  
PHP Classes
elePHPant
Icontem

Advanced Upload Class: Process forms for uploading multiple files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (7 years ago) RSS 2.0 feedStarStarStar 53%Total: 6,432 This week: 1All time: 304 This week: 1,442Down
Version License PHP version Categories  
auc 1.0GNU General Public Lice...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: 27
All time rank: 17610 in United Kingdom United Kingdom
Week rank: 385 Down18 in United Kingdom United Kingdom Down

  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 auc.main.class.inc.php Class Core Class of advanced Upload Class and TriggerErrorException Class.

 Version Control Unique User Downloads Download Rankings  
 0%Total:6,432All time:304
 This week:1This week:1,442Down
User Ratings User Comments (1)  
 All time
Utility:75%StarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:-
Examples:70%StarStarStarStar
Tests:-
Videos:-
Overall:53%StarStarStar
Rank:1438