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,639 All time: 906 This week: 254Up
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: 46
All time rank: 525 in Germany Germany
Week rank: 523 Down21 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,639
This week:0
All time:906
This week:254Up
 User Ratings  
 
 All time
Utility:56%StarStarStar
Consistency:62%StarStarStarStar
Documentation:62%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:2516
  

For more information send a message to info at phpclasses dot org.