This php snippet is useful for customizing the behavior of the "My account" link. Sometimes you want to place a login link in one of the menus. It might be confusing sometimes because after you login, the link won't show as "Logout" but as "My account". This is not ideal so you can use the snippet to make it show as "Logout".
Place this code inside your template.php file.
register_globals = Off
you can see the complete drupal post here: http://drupal.org/node/216882 Copy and paste the following line at the beginning of your .htaccess file:
## AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php ##
go to http://drupal.org/node/232773 for the complete drupal forum post.
ADDITIONAL IMPORTANT INFORMATION