PHP Classes
elePHPant
Icontem

SWFUpload Class: Validate and process files uploaded with SWFUpload

Recommend this page to a friend!
  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 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 324 All time: 6,785 This week: 1,460Up
Version License PHP version Categories
swfupload 1.7GNU General Publi...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: 3508276 in Brazil Brazil
Week rank: 1384 Up111 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:324
This week:0
All time:6,785
This week:1,460Up