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)