This is a discussion on PHP upload limit. within the alt.comp.lang.php forums, part of the PHP Programming Forums category; My web host has the upload_max_filesize in php.ini set to 2Mb and won't change it. Is there any ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
My web host has the upload_max_filesize in php.ini set to 2Mb and won't
change it. Is there any way to get around it so I can upload larger files? Someone mentioned PHP_INI_PERDIR in the .htaccess directory, but I couldn't seem to get this to work. Is there *anything* I can do to upload larger files? Also, what if I want to upload lots of little files in one upload and their total (but not individual) size is greater than 2Mb, will that be allowed? Thanks in advance. -- Gorf Jesus Saves! Passes to Moses, he shoots... HE SCORES!!! |
|
|||
|
Not sure if I'm correct but I would recommend using "set_ini" function.
Check this page: http://us3.php.net/manual/en/function.ini-set.php and look for the 'upload_max_filesize'. Hope it works out. --ScareCrowe "Gorf" <britgorf@hotmail.com> wrote in message news:1083072658.24817.0@demeter.uk.clara.net... > My web host has the upload_max_filesize in php.ini set to 2Mb and won't > change it. Is there any way to get around it so I can upload larger files? > Someone mentioned PHP_INI_PERDIR in the .htaccess directory, but I couldn't > seem to get this to work. > > Is there *anything* I can do to upload larger files? Also, what if I want > to upload lots of little files in one upload and their total (but not > individual) size is greater than 2Mb, will that be allowed? > > Thanks in advance. > > -- > Gorf > > Jesus Saves! Passes to Moses, he shoots... HE SCORES!!! > > -----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 100,000 Newsgroups - 19 Different Servers! =----- |