You are here: Re: upload_max_filesize (php.ini) « All PHP « IT news, forums, messages
Re: upload_max_filesize (php.ini)

Posted by kingsleymyers on 10/24/05 21:41

kingsleymyers wrote:
> > I have a client with a need for an "upload_max_filesize" directive
> > [php.ini] in excess of 10MB. Their current host [FatCow] will not
> > budge. They need something in the range of 15MB to 20MB. Will this
> > require a dedicated server? Can someone recommend an affordable
> > solution?
> >
> > They anticipate this to be used mostly from October to January / 2
> > people per day / average file size of 6MB.
> >
> > Thanks in advance.

aaron wrote:
> can't get around it with .htaccess ? Something like "php_value
> upload_max_filesize " . Never tried it just a suggestion. Figure most
> admin jus set up php.ini and that is it. So if you could chage it with
> .htaccess maybe they wouldn't notice :)

Justin Koivisto wrote:
> Try adding in a .htaccess file (if php is an apache module):
>
> php_value upload_max_filesize 20M
> php_value post_max_size 20M
>
> Test it. If it works, ask the host if that is acceptable to them. If
> not, find a host that will allow this (or some other form of editing
> settings for the domain).
>
> --
> Justin Koivisto, ZCE - justin@koivi.com
> http://koivi.com

Thanks Aaron and Justin. I have forwarded the suggestions to my client
for testing.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация