Login   Register  
PHP Classes
elePHPant
Icontem

Uploader: Class for handling file uploads

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (11 years ago) RSS 2.0 feedStarStarStar 48%Total: 3,615 All time: 844 This week: 1,524Down
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: 40
All time rank: 486 in Germany Germany
Week rank: 787 Down31 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,615All time:844
 This week:0This week:1,524Down
 User Ratings  
 
 All time
Utility:56%StarStarStar
Consistency:62%StarStarStarStar
Documentation:62%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:1729