14 Dec 2006

php_value max_execution_time

Posted by kilbot | Filed under: Programming

Add this to the .htaccess file if you are having troubles with php scripts timing out.


php_value max_execution_time      120

21 Aug 2006

PHPSESSID

Posted by kilbot | Filed under: Programming

While looking at a site the other day I noticed a PHPSESSID token appended to the URL, here’s how to get rid of it… in the .htaccess file tell php to store the token in cookies, rather than pass the variable through the URL:

## add to .htaccess

php_value session.use_only_cookies 1
php_value session.use_trans_sid 0