PEAR Manual
Prev |  | Next

# HTML_QuickForm_file::getValue()

HTML_QuickForm_file::getValue() -- Returns information about the uploaded file

## Synopsis

    require_once 'HTML/QuickForm/file.php';

``array HTML_QuickForm_file::getValue` ()`

## Description

Returns the information about the file upload, as in the `$_FILES` array. Note that while there exists a setValue() method, the method does nothing at all. The file element does not have a value if the form was not submitted.

## Throws

throws no exceptions thrown

## Note

since 3.0

This function can not be called statically.

Prev | Home | Next
HTML_QuickForm_file::getSize() | Up | HTML_QuickForm_file::isUploadedFile()