PHP Classes

Secure Upload: Process uploaded files of multiple types

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 529 All time: 5,633 This week: 263Up
Version License PHP version Categories
secure-upload 1.0BSD License5HTTP, PHP 5, Files and Folders, Valid...
Description Author

This class can process uploaded files of multiple types.

It can check a given submitted file input values and verify if the file name extension is one the allowed for the expected file type. Currently it supports file types of image, audio or document.

For image file types it can check if the file is really an image of the supported types.

If the file size does not exceed the allowed limit or an image file does not exceed the allowed width and height, the class can move the file to the destination upload directory.

Picture of Taiwo Peace
  Performance   Level  
Name: Taiwo Peace <contact>
Classes: 3 packages by
Country: Nigeria Nigeria
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file test.php Example Example Usage
Plain text file upload.php Class Main Class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:529
This week:0
All time:5,633
This week:263Up
 User Ratings  
 
 All time
Utility:87%StarStarStarStarStar
Consistency:62%StarStarStarStar
Documentation:-
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1591