changing the htaccess file in php

Posted by tibin mathew on Stack Overflow See other posts from Stack Overflow or by tibin mathew
Published on 2010-05-12T05:57:18Z Indexed on 2010/05/12 6:04 UTC
Read the original article Hit count: 314

Filed under:
|

Hi,

I want to change the maximum file upload size in my website, for this i'm going to add some code lines in my .htaccess file.

i have searched in google and i got the lines of code to add in .htaccess file. But i don't know exactly were to add that lines of code .

Below is the lines of code currently in my .htaccess file

code below

-FrontPage-

IndexIgnore .htaccess /.?? *~ *# /HEADER */README* */_vti*

order deny,allow

deny from all

allow from all

order deny,allow

deny from allenter code here

AuthName www.mysite.com

AuthUserFile /www/htdocs/domains/s11/01712/www.mysite.com/webdocs/_vti_pvt/service.pwd

AuthGroupFile /www/htdocs/domains/s11/01712/www.mysite.com/webdocs/_vti_pvt/service.grp

AddHandler php5-script .php

Here is the code to add

php_value post_max_size 50M

php_value upload_max_filesize 50M

how to add this lines of code in .htaccess file and where??

Please help me..

Thanks

© Stack Overflow or respective owner

Related posts about php

Related posts about .htaccess