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
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to