note 33504 rejected from language.variables.scope by torben

From: Date: Sat, 28 Jun 2003 02:30:08 +0000
Subject: note 33504 rejected from language.variables.scope by torben
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-51124@lists.php.net to get a copy of this message
Note Submitter: ---- the following line is executed when a user succesfully logs in: setcookie("loginid", $ligne->id, 0, '/', '.mysite.com', 0); later on, somefile.php is opened. ---- somefile.php ---- include('/include/headerinc.php'); echo($loginid); //PRINTS THE NUMBER SET IN THE COOKIE include('/include/footerinc.php'); ---- /include/footerinc.php ---- echo($loginid); //EMPTY OUTPUT echo($_COOKIE['loginid']); //EMPTY OUTPUT echo($GLOBALS['loginid']); //EMPTY OUTPUT echo($HTTP_COOKIE_VARS['loginid']); //EMPTY OUTPUT ------------------------------- the variabele $loginid seems unretrievable from the included file! (please help!)

« previous php.notes (#51124) next »