PHP Classes

PHP File Uploader: Validate and store uploaded files

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 564 All time: 5,404 This week: 263Up
Version License PHP version Categories
php-file-upload 1.0GNU General Publi...5.0HTTP, PHP 5, Files and Folders


This class can validate and store uploaded files.

It can take the array entry from the $_FILES super-global for a given file and validates it to make sure a valid file was uploaded, the file name extension is one of the allowed extensions, and the file size is under the allowed limit.

The class can move the uploaded file to given directory and file name if it satisfies all the validation conditions.

Picture of Odumuyiwa leye
  Performance   Level  
Name: Odumuyiwa leye <contact>
Classes: 1 package by
Country: Nigeria Nigeria
Age: ???
All time rank: 312921 in Nigeria Nigeria
Week rank: 398 Up12 in Nigeria Nigeria Up

  Files folder image Files  
File Role Description
Plain text file FileUploader.php Class File Upload Class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,404
This week:263Up
User Comments (2)
Very nice class!!!
8 years ago (Dragan Savic)
Very nice class!!!
8 years ago (Dragan Savic)