Login   Register  
PHP Classes
elePHPant
Icontem

File_upload: Validate and copy 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 (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-05-07 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 508 All time: 5,246 This week: 1,572Up
Version License PHP version Categories  
file_upload 1.12GNU General Public Lice...5.0HTTP, PHP 5, Files and Folders
Description Author  

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: 22
All time rank: 242342 in Ukraine Ukraine
Week rank: 1909 Up37 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  
 0%Total:508All time:5,246
 This week:0This week:1,572Up