
Originally Posted by
spiderling
As Sharedlog wrote, if the issue is PHP based you will need to change the PHP configuration setting for 'upload_max_filesize' to a higher file size limit. I would also suggest changing the 'post_max_size' setting to the same file size. You can do this by changing them directly via the php.ini, or using the code below in your script before your upload code is executed.
PHP Code:
ini_set('upload_max_filesize','50M');
ini_set('post_max_size','50M');
I tried to echo the new values :
Code:
<?
ini_set('upload_max_filesize','50M');
ini_set('post_max_size','50M');
echo "post_max_size = " . ini_get("post_max_size") . "\n";
echo "upload_max_filesize = " . ini_get("upload_max_filesize") . "\n";
echo "max_input_time = " . ini_get("max_input_time") . "\n";
?>
but it did not work in the echo.. it shows the old values...
how to set new values in 'upload_max_filesize','post_max_filesize',......???
plz i need help
Bookmarks