'$_POST vs. $HTTP_RAW_POST_DATA vs file_get_contents(php://input)? [duplicate]

Possible Duplicate:
What’s the difference between POST and raw POST in PHP at all?

For a better understanding, I would be grateful if you would explain what are the fundamental differences between $_POST, $HTTP_RAW_POST_DATA and file_get_contents(php://input).

When to use which, and why?

php


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source