RE: [PHP] Re: Migration from register_globals=on to register_globals=off

From: Date: Tue, 03 Jun 2003 16:48:56 +0000
Subject: RE: [PHP] Re: Migration from register_globals=on to register_globals=off
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-150007@lists.php.net to get a copy of this message
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

« previous php.general (#150007) next »