HTML_QuickForm::getMaxFileSize()

HTML_QuickForm::getMaxFileSize() – Returns the value of MAX_FILE_SIZE hidden element

Synopsis

require_once 'HTML/QuickForm.php';

int HTML_QuickForm::getMaxFileSize ( void )

Description

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

Return value

return max file size in bytes

Throws

throws no exceptions thrown

Note

since 3.0

This function can not be called statically.