Re: $_POST problem
| From: | Jason Wong | Date: | Fri, 27 Jun 2003 20:46:01 +0000 |
| Subject: | Re: $_POST problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153214@lists.php.net to get a copy of this message | ||
On Saturday 28 June 2003 04:32, Sparky Kopetzky wrote:
> 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:
If you're going to be using $_POST (which you should) then you should
*disable* register_globals.
> 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;
> }
Does print_r($_POST) show your variables?
If not are you using the POST method in your form?
If so what version of PHP are you using?
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Even the best of friends cannot attend each other's funeral.
-- Kehlog Albran, "The Profit"
*/