HTTP_Upload
[ class tree: HTTP_Upload ] [ index: HTTP_Upload ] [ all elements ]

Element index for package HTTP_Upload

[ a ] [ e ] [ f ] [ g ] [ h ] [ i ] [ l ] [ m ] [ n ] [ r ] [ s ] [ u ] [ _ ]

_

$_allowMultipleExtensions
in file Upload.php, variable HTTP_Upload::$_allowMultipleExtensions
    Whether or not to consider multiple extensions
$_chmod
in file File.php, variable HTTP_Upload_File::$_chmod
    Contains the desired chmod for uploaded files
$_chmod
in file Upload.php, variable HTTP_Upload::$_chmod
    Contains the desired chmod for uploaded files
$_extensionsCaseSensitive
in file File.php, variable HTTP_Upload_File::$_extensionsCaseSensitive
    Whether to use case-sensitive extension checks or not
$_extensionsCheck
in file File.php, variable HTTP_Upload_File::$_extensionsCheck
    It's a common security risk in pages who has the upload dir under the document root (remember the hack of the Apache web?)
$_extensionsMode
in file File.php, variable HTTP_Upload_File::$_extensionsMode
$_modeNameSeq
in file Upload.php, variable HTTP_Upload::$_modeNameSeq
    Specially used if the naming mode is 'seq' Contains file naming information
_buildFiles
in file Upload.php, method HTTP_Upload::_buildFiles()
    Creates the list of the uploaded file
_chkDirDest
in file File.php, method HTTP_Upload_File::_chkDirDest()
    Check for a valid destination dir
_evalValidExtensions
in file File.php, method HTTP_Upload_File::_evalValidExtensions()
    Evaluates the validity of the extensions set by setValidExtensions.
_loadLanguage
in file Error.php, method HTTP_Upload_Error::_loadLanguage()
    Loads language strings into error codes variable
__construct
in file Upload.php, method HTTP_Upload::__construct()
    PHP5 Constructor
__construct
in file File.php, method HTTP_Upload_File::__construct()
    PHP5 Constructor
__construct
in file Error.php, method HTTP_Upload_Error::__construct()
    PHP5 Constructor
top

a

addValidExtension
in file File.php, method HTTP_Upload_File::addValidExtension()
    Adds an extension to the previously set list of valid extensions
allowMultipleFileExtensions
in file Upload.php, method HTTP_Upload::allowMultipleFileExtensions()
    Whether or not to consider multiple extensions
top

e

$error_codes
in file Error.php, variable HTTP_Upload_Error::$error_codes
errorCode
in file Error.php, method HTTP_Upload_Error::errorCode()
    returns the error code
errorMsg
in file File.php, method HTTP_Upload_File::errorMsg()
    Returns a error message, if a error occured
Error.php
procedural page Error.php
top

f

$files
in file Upload.php, variable HTTP_Upload::$files
    Contains an array of "uploaded files" objects
File.php
procedural page File.php
top

g

getFiles
in file Upload.php, method HTTP_Upload::getFiles()
    Get files
getMessage
in file File.php, method HTTP_Upload_File::getMessage()
    Returns a error message, if a error occured
getProp
in file File.php, method HTTP_Upload_File::getProp()
    Retrive properties of the uploaded file
getValidExtensions
in file File.php, method HTTP_Upload_File::getValidExtensions()
    Returns an array with all valid file extensions.
top

h

$html
in file Error.php, variable HTTP_Upload_Error::$html
    Whether HTML entities shall be encoded automatically
hasError
in file File.php, method HTTP_Upload_File::hasError()
    Some error occured during upload (most common due a file size problem, like max size exceeded or 0 bytes long).
hasValidExtension
in file File.php, method HTTP_Upload_File::hasValidExtension()
    Does this file object have a valid extension?
HTTP_Upload
in file Upload.php, method HTTP_Upload::HTTP_Upload()
    PHP4 Constructor
HTTP_Upload
in file Upload.php, class HTTP_Upload
    This class provides an advanced file uploader system for file uploads made from html forms
HTTP_UPLOAD_DEFAULT_CHMOD
in file Error.php, constant HTTP_UPLOAD_DEFAULT_CHMOD
    defines default chmod
HTTP_Upload_Error
in file Error.php, method HTTP_Upload_Error::HTTP_Upload_Error()
    PHP4 Constructor
HTTP_Upload_Error
in file Error.php, class HTTP_Upload_Error
    Error Class for HTTP_Upload
HTTP_Upload_File
in file File.php, class HTTP_Upload_File
    This class provides functions to work with the uploaded file
HTTP_Upload_File
in file File.php, method HTTP_Upload_File::HTTP_Upload_File()
    PHP4 Constructor
top

i

$is_built
in file Upload.php, variable HTTP_Upload::$is_built
    Whether the files array has already been built or not
isMissing
in file File.php, method HTTP_Upload_File::isMissing()
    User haven't submit a file
isMissing
in file Upload.php, method HTTP_Upload::isMissing()
    Checks if the user submited or not some file
isValid
in file File.php, method HTTP_Upload_File::isValid()
    The upload was valid
top

l

$lang
in file Error.php, variable HTTP_Upload_Error::$lang
    Selected language for error messages
top

m

$mode_name_selected
in file File.php, variable HTTP_Upload_File::$mode_name_selected
    If user haven't selected a mode, by default 'safe' will be used
moveTo
in file File.php, method HTTP_Upload_File::moveTo()
    Moves the uploaded file to its destination directory.
top

n

nameToSafe
in file File.php, method HTTP_Upload_File::nameToSafe()
    Format a file name to be safe
nameToSeq
in file File.php, method HTTP_Upload_File::nameToSeq()
    Sequence file names in the form: userGuide[1].pdf, userGuide[2].pdf ...
nameToUniq
in file File.php, method HTTP_Upload_File::nameToUniq()
    Unique file names in the form: 9022210413b75410c28bef.html
top

r

raiseError
in file Error.php, method HTTP_Upload_Error::raiseError()
    Overwrites the PEAR::raiseError method
top

s

setChmod
in file Upload.php, method HTTP_Upload::setChmod()
    Sets the chmod to be used for uploaded files
setName
in file File.php, method HTTP_Upload_File::setName()
    Sets the name of the destination file
setValidExtensions
in file File.php, method HTTP_Upload_File::setValidExtensions()
    Function to restrict the valid extensions on file uploads.
top

u

$upload
in file File.php, variable HTTP_Upload_File::$upload
    Assoc array with file properties
upload_example.php
procedural page upload_example.php
Upload.php
procedural page Upload.php
top

Documentation generated on Wed, 18 Jan 2017 14:00:02 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.