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 enough user ratingsTotal: 328 This week: 1All time: 7,157 This week: 560Up
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 crisgoar
Name: crisgoar <contact>
Classes: 1 package by
Country: ???
Age: ???
All time rank: 3748
Week rank: 416 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:328
This week:1
All time:7,157
This week:560Up