[PHP] Register Globals workarounds

2002-05-05 Thread Justin French
Hi all, For those faced with the task of updating 100's or 1000's of pages that assumed register_globals on, I've found a couple of solutions which can work as a temporary solution whilst you re-engineer your pages (as I plan to do). 1. simple: ask your ISP to change php.ini :) 2. use a

Re: [PHP] Register Globals workarounds

2002-05-05 Thread Philip Olson
2. use a .htaccess file to change register_globals for your domain / dir, as long as your Apache config file allows it. http://www.php.net/manual/en/configuration.php As Justin stated, doing this (use of .htaccess) is possible if your host allows it. The following will work in .htaccess: