Here is my test script:
Code:
<?php
ini_set('file_uploads', '0');
ini_set('post_max_size', '16M');
ini_set('upload_max_filesize', '16M');
echo ini_get('file_uploads')."<br />";
echo ini_get('post_max_size')."<br />";
echo ini_get('upload_max_filesize')."<br />";
?>
And the OUTPUT:
Looking through the manual on php.net it appears these values are not able to be changed dynamically. There is a hint that it is possible with htaccess but they are not able to be changed on a "perdir" basis according the site so I do not think that will work.
Thanks for the advice though, was something I had not tried -- learned something new as well!!
Cole