PHP Classes

SWFUpload Class: Validate and process files uploaded with SWFUpload

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 328 All time: 7,164 This week: 488Up
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: ???

 

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:328
This week:0
All time:7,164
This week:488Up