PHP.INI vs .HTACCES

houseperu posted 3rd of May 2008 in Community Voice. 1 comment.

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.

 
Comments
·Oldest
·Top
Please login to post a comment.
618drunks
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
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.045534133911133