Class | Description |
---|---|
![]() |
The inputfile class manages files for input. It opens, reads and closes files in input-only mode. |
![]() |
CSV Inputfile class Manage CSV-formatted files for input. |
![]() |
Open a file which contains a stylesheet and read in the style settings. This is a special case of inputfile. |
![]() |
The outputfile class manages files for outputting content. This includes both appending to an existing file, and creating new files. The method used in both cases is to write to a temporary file, and then rename/move it onto the final file path when closefile() is called. |
![]() |
This is a derived class from outputfile and is a quick way of creating a file with content in a single hit. You can check the $created property afterwards to determine success/failure. |
![]() |
Fileupload class. |
Abandon file on close
Save the file on close
Destination directory access problem
Uploaded file was not of an allowed mime type
Attempt to move a non-uploaded file. Hacking.
Uploaded file exceeded the given maximum size
Failed to move file, filesys error (perms?)
Error code: All ok, no errors
Returns an array containing full paths to the files in the directory
given by the path. This can be optionally recursive, in which case we will end up with a long list of path/filenames which comprise the whole tree, minus the special files '.' and '..'
Return the file stem (name without extn) from a filepath.
Make sure path exists A utility function which makes sure a given directory path is made, using mkdir as required. This function assumes that permissions are all as needed.
Return a random unique filename, with optional prefix and an optional extension. The filename is composed from an md5 of microtime(), plus the prefix and extension if given.
Documentation generated by phpDocumentor 1.3.0RC3