Login   Register  
PHP Classes
elePHPant
Icontem

UploadClass: Validate and process uploaded 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   Blog (2)    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-07-07 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 499 All time: 5,314 This week: 1,531Up
Version License PHP version Categories  
upload-class 0.2Free To Use But Restricted5HTTP, PHP 5, Files and Folders
Description Author  

This class can be used to validate and process uploaded files.

It can take the $_FILES array with uploaded files data and validate it to check if file size are within allowed limits, if the MIME type and the file name extension is one of the accepted.

The validated file uploads can be moved to a given destination directory.

Picture of Kai Ming Choi
Name: Kai Ming Choi <contact>
Classes: 15 packages by
Country: Hong Kong Hong Kong
Age: 22
All time rank: 5273 in Hong Kong Hong Kong
Week rank: 641 Down4 in Hong Kong Hong Kong Down
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file upload.class.php Class main class
Accessible without login Plain text file changelist.txt Doc. change list

 Version Control Unique User Downloads Download Rankings  
 0%Total:499All time:5,314
 This week:0This week:1,531Up