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

Reply via email to