I recently installed 6xMailer...an excellent PHP/mySQL POP3/IMAP web interface...and discovered something I haven't found here in the Forums.
6xMailer requires its directory to include the following PHP configuration:
register_globals off
track_vars on
session.use_cookies on
Since my PHP.ini file is set like this:
register_globals on
track_vars on <-(always on in PHP4)
session.use_cookies off
I needed a directory-specific instruction.
I used an .htaccess file in the 6xMailer directory like so:
php_flag register_globals off
php_flag track_vars on
php_flag session.use_cookies on
The only problem was that the global variables were accumulating in the 6xMailer directory, so when a visitor clicked OUT of the directory, the mass of variables was carried along with the user.
It took a few hours to realize that a cookie was to blame, not the globals.
To solve the problem, I placed another .htaccess file in the root directory, where users coming out of the 6xMailer directory would end up when they logged out, with these instructions in it:
php_flag register_globals on
php_flag session.use_cookies off
These duplicate the PHP.ini instructions, or more accurately...they re-initialize the instructions once 6xMailer is done.
Thought this might be useful to someone...
Have a great day!