HTML_QuickForm::setMaxFileSize()

HTML_QuickForm::setMaxFileSize() – Sets the value of MAX_FILE_SIZE hidden element

Synopsis

require_once 'HTML/QuickForm.php';

void HTML_QuickForm::setMaxFileSize ( int $bytes )

Description

Sets the value of MAX_FILE_SIZE hidden element (used for file uploads).

Parameter

integer $bytes

Size in bytes

Throws

throws no exceptions thrown

Note

since 3.0

This function can not be called statically.