php://input is better than $HTTP_RAW_POST_DATA
$HTTP_SERVER_VARS is not used here. By the way, this variable is deprecated since PHP 5.4.0