PHP Classes

File_upload: Validate and copy uploaded files

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


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

It can check an upload file and determine if it has one of the accepted file name extensions and it does not exceed a given size limit.

The class can also copy the file to a given upload directory, creating it first with the right permissions if the directory does not exist.

The comments and error messages are in Russain, but the code, function names and variable names are in English.

Picture of Evgeniy Gennadevich
Name: Evgeniy Gennadevich <contact>
Classes: 2 packages by
Country: Ukraine Ukraine
Age: 32
All time rank: 264542 in Ukraine Ukraine
Week rank: 278 Up3 in Ukraine Ukraine Up

  Files folder image Files  
File Role Description
Plain text file upload.class.php Class file upload class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,716
This week:455Up