Category: "PHP"

PHP Sessions
Jan 20th
I'm used to working on busy public servers. For my latest project, I have a server all to myself (what fun!). Could not understand why the sessions weren't timing out.
The key php.ini settings that resolved the issue were the garbage collection numb… more »

Developing PHP5 code on a PHP4 server, that also has PHP5
Jan 15th
.htaccess to run PHP5 on a server that defaults .php to PHP4, when your ultimate target is a PHP5 server.
.htaccess file
RewriteEngine On
RewriteRule ^index.php5$ - [L]
RewriteRule ^exec.php$ - [L]
RewriteRule ^(.*)\.php5?$… more »