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" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > 1013298469.9790.13.camel@ali">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 <[EMAIL PROTECTED]> http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php