PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2003-01-18 (13 years ago) RSS 2.0 feedStarStarStar 48%Total: 3,636 All time: 885 This week: 935Down
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

  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,636
This week:0
All time:885
This week:935Down
 User Ratings  
 
 All time
Utility:56%StarStarStar
Consistency:62%StarStarStarStar
Documentation:62%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:2225