PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 327 All time: 7,152 This week: 310Up
Version License PHP version Categories
swfupload 1.7GNU General Publi...5.2HTTP, PHP 5, Files and Folders


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 crisgoar
Name: crisgoar <contact>
Classes: 1 package by
Country: ???
Age: ???
All time rank: 3743
Week rank: 641 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  
This week:0
All time:7,152
This week:310Up