Furry stuff, oekaki stuff, and other stuff.
You are not logged in.
Thanks.
Nullig
That would be in "cpanel.php", at line 73:
$verify_max = array (10000, 50, 500, 10000, 10000, 10000, 10000, 500, 500, 100000000, 1000000, 15000000, 500, 1000, 2000000, 150, 150, 100);
The 1,000,000 is the max anim size, and the 2,000,000 is the max picture size.
Here's a fixed line for your server:
$verify_max = array (10000, 50, 500, 10000, 10000, 10000, 10000, 500, 500, 100000000, 5100000, 15000000, 500, 1000, 5100000, 150, 150, 100);
As per phpinfo:
post_max_size = 8M
upload_max_filesize = 5M
So where do I change the defaults, so they will "stick"?
Nullig
These are hard-coded values built into the control panel, based on the default max HTTP upload size. They can be overridden, but you have to make sure your server will accept HTTP uploads larger than 2MB.
The problem is that some servers will just throw away large submissions, sometimes without warning, and this can result in lost pictures. That's why I had to hard-code the limit to 2MB, the standard max size for Apache.
To find out the largest file your server will accept, use the "test_php.php" script in the archive documenation folder, or find out how to get a PHP Info screen from your server's control panel. Once you're on the PHP Info screen, look for the value "upload_max_filesize". This is the largest file your server can accept for uploads. The "post_max_size" value is a bit different, and refers to the total amount of data you can upload, not the size of each file. This doesn't guarantee you can use larger limits, but it's a fair bet that it will work.
I've tried to increase the file sizes for animations and uploads to 2 meg and 2.5 meg respectively, but when I go back into Control Panel it shows 1 meg and 2 meg.
Is this a limitation of the applets? Or can I adjust it through the hacks file?
Thanks,
Nullig