yeah .. I knew it .. but it would be so very helpfull if it would be just included in a superglobal similar to $_REQUEST ...
-----Oorspronkelijk bericht----- Van: R'twick Niceorgaw [mailto:[EMAIL PROTECTED] Verzonden: dinsdag 3 juni 2003 19:01 Aan: [EMAIL PROTECTED] Onderwerp: Re: [PHP] Re: Migration from register_globals=on to register_globals=off 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" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] > Verzonden: dinsdag 3 juni 2003 18:45 > Aan: [EMAIL PROTECTED] > 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 > > -- 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