PHP Classes
Icontem

Class: Safe Upload


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ahmed Selim Refaat Ahmed  >  Safe Upload  >  Download  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Safe Upload Support forum
Base name: safe_upload
Description: Process files uploaded via Web forms
Version: 1.0
Required PHP version: 3.0
License: GNU General Public License (GPL)
All time users: 874 users
All time rank: 2706
Week users: 3 users
Week rank: 2048
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Trackback   Applications   Files Files  

Author

Picture of Ahmed Selim Refaat Ahmed
Name: Ahmed Selim Refaat Ahmed <e-mail contact>
Published packages: 2 Browse this author's classes Browse this author's classes
Country: Egypt Egypt - PHP jobs in Egypt
Home page: http://www.cr-house.com/
Age: 19
All time rank: 1169
Week rank: 1014

Groups

Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes

Detailed description

This class can be used to process files uploaded via Web forms.

It checks a given uploaded file and performs several checks before processing it like: checking the file name against a black list of banned names, check if the file already exists in a target directory, check whether the file size is not zero nor exceeds and given limit, check the MIME type against a list of accepted types, check the file name extension against a list of accepted extensions.

Then the class processes the file by moving it to a target directory. If it succeeds, the class returns an array with several details about the file.

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (62.5%)
Not sure (56.3%)
Not sure (56.3%)
Sufficient (62.5%)
-
-
Not sure (48.8%)
1390
Month:
Not yet rated by the users

Trackback links

Link Description
Form field security issues If the files stopped appearing 3 months after you removed the contact form then it's very possible that it wasn't the cause of the issue...

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

File Role Description
Plain text file upload.class.php Class Safe Upload class source file
Plain text file Docs Doc. Documentation of Safe upload
Plain text file example.php Example Example of usinf safe upload
Download all files: safe_upload.tar.gz safe_upload.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products