PHP Classes
elePHPant
Icontem

File Upload System: Validate and process file uploads

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2009-10-19 (6 years ago) RSS 2.0 feedStarStarStar 54%Total: 1,495 All time: 2,528 This week: 871Up
Version License PHP version Categories
file-upload 1.0GNU General Publi...4.0HTTP, Files and Folders
Description Author

This class can be used to validate and process file uploads.

It can check whether the uploaded file has one of several allowed file name extensions, whether the file size does not exceed a given limit, and check whether a file with the same name was not previously uploaded.

A valid file is copied to a given destination directory. If the file is an image, it creates copy of the image in JPEG format that does not exceed a given width or height, if necessary scaling it and preserving the original proportions.

Picture of Biju
  Performance   Level  
Name: Biju <contact>
Classes: 2 packages by
Country: India India
Age: 43
All time rank: 141379 in India India
Week rank: 734 Up57 in India India Up

  Files folder image Files  
File Role Description
Plain text file objupload.class.php Class Common Class for Uploading
Accessible without login Plain text file upload_test.php Example Example for uploading files

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,495
This week:0
All time:2,528
This week:871Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:1674