Login   Register  
PHP Classes
elePHPant
Icontem

Class: Safely Upload

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Abdelkader Elkalidi  >  Safely Upload  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Safely Upload
Base name: safely-upload
Description: Validate and process uploaded files
Related classes: , ,
Version: 1.0
PHP version: 4.0
License: MIT/X Consortium License
All time users: 448 users
All time rank: 4758
Week users: 0 users
Week rank: 2503
Picture of Abdelkader Elkalidi
Author: Abdelkader Elkalidi <e-mail contact>
Packages: 2 Browse this author's classes Browse this author's classes
Country: Morocco Morocco - PHP jobs in Morocco
Age: ???
All time rank: 21244 in Morocco Morocco
Week rank: 1634 Up3 in Morocco Morocco Up


  Detailed description  
This class can be used to validate and process uploaded files.

It can take array of data for a given uploaded file and can check it to verify whether it does not exceed the maximum allowed size, check whether it has one of the allowed file name extensions, check whether the destination directory exists and is writable before copying it.

The class can also create the thumbnails if the uploaded file is an image.

 

  Groups  
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imageuploads (1 file)
Plain text file form.html Example From example
Plain text file SafelyUpload.php Class SafelyUpload class
Plain text file upload.php Example Code exemple

  Files  /  Files folder image uploads  
File Role Description
  Plain text file index.html Output none

Download all files: safely-upload.tar.gz safely-upload.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.