Login   Register  
PHP Classes
elePHPant
Icontem

Class: Uploader

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Lennart Groetzbach  >  Uploader  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Uploader
Base name: uploader
Description: Class for handling file uploads
Related classes: , , , , ,
Version: -
PHP version: -
License: BSD License
All time users: 3492 users
All time rank: 778
Week users: 3 users
Week rank: 1267
Picture of Lennart Groetzbach
Author: Lennart Groetzbach <e-mail contact>
Packages: 13 Browse this author's classes Browse this author's classes
Country: Germany Germany - PHP jobs in Germany
Age: 37
All time rank: 425 in Germany Germany
Week rank: 198 Down8 in Germany Germany Down


  Detailed description  
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

 

  Groups  
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes

  Rate classes User ratings   Applications   Related links   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Not sure (56.2%)
Sufficient (62.5%)
Sufficient (62.5%)
Sufficient (75.0%)
-
-
Not sure (48.1%)
1601
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Forms Class required class for Uploader.php
Rate me Rate this class @ Hotscripts

  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

Download all files: uploader.tar.gz uploader.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.