HomeUnityBlogs
 
 
houseperu

PHP.INI vs .HTACCES

Hi. i have problems whem i try to upload Photos when they are big ones

i try to change the PHP.INI  and .HTACCES, but doesnt work

i gonna punt the code that i use please help me

PHP.INI  Code:
<?
phpinfo()
memory_limit=128M
php_value memory_limit 128M

upload_max_file_size
post_max_file_size
max_execution_time

?>


.HTACCES Code:
<IfModule mod_rewrite.c>
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule .+ - [L]
RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$1 [QSA,L]
</IfModule>


onother problem is , when i change the .HTACCES code the web have problems, i dont know what to do, i wanna know if you could help me
please i need help

sorry for my English.

bad
1
good
 
 

Comments

618drunks
618drunks 53 days agocomment permalink
 
Here is my php.ini:

register_globals Off
post_max_size = 300M
upload_max_filesize = 300M
max_execution_time = 250
AddType x-mapp-php5 .php

It works like a charm.

www.618drunks.com
 
bad
0
good
 
 


Post a Comment

Please login to post a comment.

This Post
 
 
houseperu Blog
All Blogs
Found a bug? Have a suggestion? We really value your feedback!
 
© 2008 BoonEx Ltd
ABN 27 127 966 581
 
PET:0.361963033676