[thelist] What tools should I use?

Paul Bennett Paul.Bennett at wcc.govt.nz
Mon Sep 12 16:47:13 CDT 2005


>PHP supports run-time overrides of variables that are set as defaults in php.ini

<tip type="PHP">
In a shared hosting environment, you can alter the values set in php.ini on a script level by using the ini_set() function.

As an example, to extend the session timeout from that set in php.ini to 4 hours (14400 seconds):

ini_set('session.gc_maxlifetime', 14400);

</tip>


More information about the thelist mailing list