Gallery gallery-2.0.4 (full)
PHP version: PHP Version 4.4.1
Webserver: Apache 1.3.33
Database: MySql 4.0.11
Activated toolkits: NetPbm, GD
Operating system (e.g. Linux):
Browser: Firefox 1.0
Ok. You know the story. I have shared server and can't directly access or change my php.ini file directly. Ok. I read through the forums and I gather that i can either embed this script OR alter my htaccess file.
ini_set("post_max_size","200M");
ini_set("upload_max_filesize","200M");
If i inlcude this script above, what file does it go in? If I don't use this way, which htaccess file do i alter and what is the string for it?
Note: I have remote gallery and uploading anything larger than 2MB ends up auto compressing the image.
Posts: 2240
Those would go in main.php, see FAQ: Why can't I upload big files (over a megabyte or two)? for other methods.
--
http://ckdake.com/
If you found my help useful, please consider donating to Gallery.