To be a bit more indepth..
$HTTP_POST_VARS will only work from the script level.
to get it from a function or an objects scope:
$GLOBALS['HTTP_POST_VARS'] -- is compatable for all versions since PHP3
$POST is used by PHP4.1+
as well as $GET, $COOKIE, $SERVER and $_SESSION