PHP Classes

Uploader: Class for handling file uploads

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 48%Total: 3,643 This week: 1All time: 909 This week: 571Up
Version License Categories
uploader 1.0BSD LicenseFiles and Folders
Description 

Author

This class generates the form elements for a file upload and stores the
uploaded files in a directory.

- You restrict the file size and the allowed file types easily.
- The uploaded file information is returned in an associative array.

CONSTRUCTOR:
function Uploader()
PUBLIC:
function openForm($action, $add_on = '')
function fileField($size = -1, $fileSize=1048576, $accept='text/*')
function closeForm($addSubmitButton = true)
function uploadTo($path, $overwrite=false, $allowedTypeArray=null)
function wasSubmitted()
function debug()
PRIVATE:
function _error($msg)

PUBLIC VARS:
var $error

Picture of L
Name: L <contact>
Classes: 13 packages by
Country: Germany Germany
Age: 49
All time rank: 545 in Germany Germany
Week rank: 420 Down17 in Germany Germany Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file testUploader.php Example example
Accessible without login HTML file Uploader.html Doc. phpdoc source
Plain text file Uploader.php Class main class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,643
This week:1
All time:909
This week:571Up
 User Ratings  
 
 All time
Utility:56%StarStarStar
Consistency:62%StarStarStarStar
Documentation:62%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:2938