Re: [PHP3] Accesing Global Variable in PHP

From: Date: Wed, 07 Jun 2000 07:40:43 +0000
Subject: Re: [PHP3] Accesing Global Variable in PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-1173@lists.php.net to get a copy of this message
In article <002001bfcbe1$77104ba0$e73ac5cb@saif.saif.com>, helpdesk@graficali.com ("Graficali") wrote: > apart from GET and POST , > any other way to do it. Cookie. Or a single, unique cookie with all the data stored in a database, or in the built-in session support of php4. > i tried with environment variable; > code in one.php3 is : > > $username=3D"swapnil"; > putenv("QUERY_STRING=3D$username"); > > code in two.php3 is : > > $username=3Dgetenv("QUERY_STRING"); > > but it's not working. No, that won't. I guess you could look into that shared memory stuff, but it's like using a scalpel to cut cheese... -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#1173) next »