Re: [Newbie] PHP Variables

From: Date: Thu, 08 Feb 2001 23:30:40 +0000
Subject: Re: [Newbie] PHP Variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-38835@lists.php.net to get a copy of this message
If register_globals is turned off, that will not work. See : http://www.php.net/manual/en/configuration.php#ini.register-globals Check phpinfo() <?php phpinfo() ?> For details on your settings, perhaps it is off. Try : <?php echo $HTTP_GET_VARS["contents"] ?> And it should display : HOME : for you. Regards, Philip Olson http://www.cornado.com/ On Thu, 8 Feb 2001, Steve Haemelinck wrote: > I thought you can pass variables in PHP as in CGI. > > http://www.xy.com/index.php?contents=HOME > > contents should be available as variable, but it does not seem to work. Doe > anyone has an idea why not? > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#38835) next »