What are some potential pitfalls of using $HTTP_POST_VARS in PHP scripts?

Using $HTTP_POST_VARS in PHP scripts can pose security risks as it is deprecated and not recommended for use. It is better to use the superglobal $_POST array instead, as it is more secure and widely supported in PHP versions.

// Use $_POST array instead of $HTTP_POST_VARS
$value = $_POST['key'];