Login   Register  
PHP Classes
elePHPant
Icontem

SWFUpload Class: Validate and process files uploaded with SWFUpload

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  
2011-09-13 (3 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 323 All time: 6,444 This week: 1,585Up
Version License PHP version Categories  
swfupload 1.7GNU General Public Lice...5.2HTTP, PHP 5, Files and Folders
Description Author  

This class can validate and process files uploaded with SWFUpload.

It takes the name of form input used to upload a file and validates the upload to check if the file it was uploaded without errors, checks if the file size is below the accepted limit, check if the file name has an extension from the list of accepted extensions, check if the file name length is below the accepted limit after cleaning any unacceptable characters, and checks if a file with the same was not already uploaded before.

The class can move the uploaded file to a given directory after creating its directory structure if it did not exist already.

Picture of Cristiano Gois de Araujo
Name: Cristiano Gois de Araujo <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: ???
All time rank: 3353263 in Brazil Brazil
Week rank: 1868 Up141 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file upload.class.php Class SWFUpload Class

 Version Control Unique User Downloads Download Rankings  
 0%Total:323All time:6,444
 This week:0This week:1,585Up