Re: installing php with register globals off and on?
| From: | David Rice | Date: | Mon, 19 Aug 2002 23:31:01 +0000 |
| Subject: | Re: installing php with register globals off and on? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113272@lists.php.net to get a copy of this message | ||
Hi:
I have a test site where I am trying out a few things in PHP. I started off with register_globals on. Then I read in the docs that it is best to turn turn register_globals off. I did so and now I am having a marvelous time recoding some session stuff :(
I could not find much info on why "register_globals on" is a bad thing. Seems to me that code is much cleaner with them on. What's the down side?
Cheers,
David
On Monday, August 19, 2002, at 05:05 PM, Rasmus Lerdorf wrote:
Sure, turn register_globals on only for the oasis directory. In your httpd.conf add: <Directory /some/path/oasis>php_value register_globals on</Directory> -Rasmus On Mon, 19 Aug 2002, Andy wrote:Hi there, I am running php 4.2.2 with register globals set to off. Now I am planing to install oasis (a add tracking sw). Their current version requires a php build with register globals set to on!? Is there a way out of this dilema running only one server? Thanx for any advice, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php