Re: $_POST problem

From: Date: Fri, 27 Jun 2003 20:42:36 +0000
Subject: Re: $_POST problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-153213@lists.php.net to get a copy of this message
You need to use $_GET, not $_POST, if the varaibles are passed in the URL. --- Sparky Kopetzky <sparkyk@blackmesa-isp.net> wrote: > Hi, it's me again... > > I've got my script kinda running but am unable to retrieve any > values with $_POST. I turned on register_globals in the php.ini and > am using this url: http://www.fttta.com/auction.php?action=reg. > (Sorry, it's local for now...) > > I'm using this kind of line to check for values: > elseif ('reg' == $_POST['action']) > { > do something; > } > > What am I doing wrong here??? > Robin E. Kopetzky > Black Mesa Computers/Internet Services > www.blackmesa-isp.net > > ===== Mark Weinstock mark_weinstock@yahoo.com *************************************** You can't demand something as a "right" unless you are willing to fight to death to defend everyone else's right to the same thing. *************************************** __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com

« previous php.general (#153213) next »