Re: $GLOBALS ???

From: Date: Fri, 05 Jul 2002 21:07:30 +0000
Subject: Re: $GLOBALS ???
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-105738@lists.php.net to get a copy of this message
What about PHPSESSID??? Can't use the $_COOKIE. Thanks, FletchSOD "Ed Lazor" <ELazor@providence.org> wrote in message news:C8891DEC2698D411A91B00508BF9898806E118A7@phsormsg04.phsor.org... > Correct.... you can add the data as a URL parameter. Or, you could set a > cookie and use sessions. > > -----Original Message----- > > Let's say ..... > > --clip-- > Page 1 ----- > $data = "Yes!"; > > header("Location: test1.php"); > > Page 2 ----- > $data = $GLOBALS['data']; > > echo $data; > > --clip-- > > This one does not work! Does this ever work at all or do I need to do the > "header("Location: test1.php?data=Yes!");" into the script? > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > **************************************************************************** > This message is intended for the sole use of the individual and entity to > whom it is addressed, and may contain information that is privileged, > confidential and exempt from disclosure under applicable law. If you are > not the intended addressee, nor authorized to receive for the intended > addressee, you are hereby notified that you may not use, copy, disclose or > distribute to anyone the message or any information contained in the > message. If you have received this message in error, please immediately > advise the sender by reply email and delete the message. Thank you very > much.

« previous php.general (#105738) next »