Re: Re: Migration from register_globals=on to register_globals=off
| From: | R'twick Niceorgaw | Date: | Tue, 03 Jun 2003 17:00:48 +0000 |
| Subject: | Re: Re: Migration from register_globals=on to register_globals=off | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150017@lists.php.net to get a copy of this message | ||
probably because $_SESSION is a server side thing not coming from the client
side in a Request ?
R'twick
----- Original Message -----
From: "Wouter van Vliet" <phpmailinglist@wouter.springt.nl>
To: <php-general@lists.php.net>
Sent: Tuesday, June 03, 2003 12:48 PM
Subject: RE: [PHP] Re: Migration from register_globals=on to
register_globals=off
> One little addit:
>
> use indeed $_GET for vars passed through the query string and $_POST to
read
> out postdate .. $_COOKIE for cookies, but you'll find a combination of
them
> all in $_REQUEST
>
> (nobody happens to know why $_SESSION is not included in that one .. or
> knows one that includes $_SESSION in it..?)
>
> Wouter
>
>
> -----Oorspronkelijk bericht-----
> Van: Øystein Håland [mailto:ha@ematte.se]
> Verzonden: dinsdag 3 juni 2003 18:45
> Aan: php-general@lists.php.net
> Onderwerp: [PHP] Re: Migration from register_globals=on to
> register_globals=off
>
>
> I tried changing my code to (since the variable $printout in this case is
> sent with GET)
> ($_GET['printout'] != "yeah") { include("header.php"); }
> and got the following error:
> Undefined index: printout
>
>
>
> --
> 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
>
>