Re: Re: register global off
| From: | John Nichel | Date: | Wed, 01 Sep 2004 20:33:49 +0000 |
| Subject: | Re: Re: register global off | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195465@lists.php.net to get a copy of this message | ||
Afan Pasalic wrote:
I think I am a little bit "confused" about $HTTP_POST_VARS and $_POST. php.net manual: Note that $HTTP_POST_VARS and $_POST are different variables and that PHP handles them as such http://us4.php.net/reserved.variables ????? And the example I wrote still doesn't work: <form method=post action=index.php> name <input type=text name=first_name> <input type=submit name=SubmitForm value=Submit> </form> After submitting $HTTP_POST_VARS['SubmitForm'] has value 'Submit' and $POST['SubmitForm'] is empty.It's $_POST You're missing the underscore. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com