Re: Parameters via Link

From: Date: Sun, 10 Feb 2002 00:00:54 +0000
Subject: Re: Parameters via Link
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-84146@lists.php.net to get a copy of this message
On Sat, 2002-02-09 at 15:54, Manuel Ritsch wrote: > I have PHP Version 4.0.5 and register_globals turned on but it doesnt' work > =( Is it inside a function? If not, can you send me a copy of the script? Torben > "Lars Torben Wilson" <torben@php.net> schrieb im Newsbeitrag > news:1013298469.9790.13.camel@ali... > > On Sat, 2002-02-09 at 15:39, Manuel Ritsch wrote: > > > Still doesnt' work, any ither suggestions? > > > > Sounds like you don't have register_globals turned on. (Don't turn it > > on! globals are eevviill! ;) > > > > Try: > > > > if ($_REQUEST['link'] == 'home') { > > . . . > > } > > > > Or, if using an older (pre-4.1.0) version of PHP, try: > > > > if ($HTTP_GET_VARS['link'] == 'home') { > > . . . > > } > > > > > > Hope this helps, > > > > Torben -- Torben Wilson <torben@php.net> http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506

« previous php.general (#84146) next »