Re: Passing Variables with register_globals Off?
| From: | 1LT John W. Holmes | Date: | Wed, 24 Apr 2002 10:17:42 +0000 |
| Subject: | Re: Passing Variables with register_globals Off? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-94345@lists.php.net to get a copy of this message | ||
It still works, the value is in $_GET["db"]
---John Holmes...
----- Original Message -----
From: "Smileyq" <smileyq@nashlinux.com>
To: <php-general@lists.php.net>
Sent: Wednesday, April 24, 2002 6:09 AM
Subject: [PHP] Passing Variables with register_globals Off?
> I've noticed with the release of PHP 4.2.0 that the register_globals has
> been turned off by default. While this is a wonderful thing for security
> it makes passing data between pages difficult link to link. While I am
> familiar with using sessions I was wondering if there were any tricks to
> passing data between pages using links like you would in this example.
>
> http://blalba.com/test.php?db=camperboy
>
> With the release of PHP 4.2.0 and register globals being off this no
> longer works. My menus are driven by posted variables and I would like
> to figure out a way to both pass the data but be secure about it too.
> Any help would be great thanks!.
>
> -Smileyq
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>