Forum Moderators: coopster
/**
* A couple of PHP configuration directives must be set in the httpd.conf
* in order for the upload form to operate as designed. Although we set the
* maximum file size allowed to be uploaded in the form, that can be spoofed.
* We must still set the PHP directives, most of which are type PHP_INI_PERDIR,
* which means the entry can be set in php.ini, .htaccess or httpd.conf, but
* not in the script itself using ini_set(). Each of the directives in turn
* must be larger than the preceding directive in accordance with PHP:
* upload_max_filesize PHP_INI_PERDIR 2M
* post_max_size PHP_INI_PERDIR 8M
* memory_limit PHP_INI_PERDIR not enabled/must compile in
* We must also set the maximum time in seconds a script is allowed to
* receive input data during the POST file upload:
* max_input_time PHP_INI_PERDIR (default = 60)
*/
[cmsmatrix.org...]