--- Martin Hudec <[EMAIL PROTECTED]> wrote:
> what you're looking for is called Register Globals which is turned
> off, therefore you just cannot use $variable but must use
> $HTTP_POST_VARS['variable'].

To add to this, if register_globals is disabled by default, it is likely
that you're using a version of PHP that is recent enough to have $_POST.
So, you can use $_POST['foo'] instead of $HTTP_POST_VARS['foo']. Not only
is it shorter, I believe the older name is deprecated.

Chris

=====
Chris Shiflett - http://shiflett.org/

PHP Security Handbook
     Coming mid-2004
HTTP Developer's Handbook
     http://httphandbook.org/
RAMP Training Courses
     http://www.nyphp.org/ramp

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

Reply via email to