Re: pass variable to PHP

From: Date: Wed, 04 Apr 2001 05:18:26 +0000
Subject: Re: pass variable to PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-46979@lists.php.net to get a copy of this message
Hi, Plutarck Thank You for your help. I would like to know how to turn on the feature to let PHP to separate the variable by GET/POST Thank You! HK Woo ""Plutarck"" <aemuli@spamclause-yahoo.com> wrote in message news:9ae7sf$f96$1@toye.p.sourceforge.net... > Try using a print_r($HTTP_GET_VARS) and see what comes up. > > It could be that PHP has been set not to turn GET/POST variables into > seperate values. > > If so you'll need to use: > > echo $HTTP_GET_VARS[testing]; > > > -- > Plutarck > Should be working on something... > ...but forgot what it was. > > > > ""HK Woo"" <hkwoo@netvigator.com> wrote in message > news:9ae7ba$9n3$1@toye.p.sourceforge.net... > > Hi, > > > > I have written a html which contains a form and then I use a "GET" method > to > > pass a variable to PHP program with > > http://xxx.xxx.xxx.xxx/test.php?testing=testing. However, > > I can't get the > > variable testing by using "echo $testing". > > > > I don't know what is the problem. > > > > Thank You! > > > > HK Woo > > > > > > > > -- > > 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 > > > > > > -- > 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 (#46979) next »