I am running PHP 4.3.11 on Linux/Apache.
Can I set the upload_max_filesize within a php script or must this be done at the httpd.conf / .htaccess / php.ini level?
Must be set in php.ini, .htaccess or httpd.conf.
See: http://us2.php.net/manual/en/ini.php#ini.list
At the bottom of the same page are the definitions: http://us2.php.net/manual/en/ini.php#AEN193772
hth.
Thanks toplay, I see that I cannot acheive this within a php script, I must use .htaccess, or the httpd.conf file or set php.ini.
i see that some settings can be made using ini_set(), but upload_max_filesize is not one of them.
Thanks again.