To get the Raw Post Data:
<?php $postdata = file_get_contents("php://input"); ?>
Please see the notes here:
http://us.php.net/manual/en/wrappers.php.php
(PHP 4, PHP 5)
$HTTP_RAW_POST_DATA — Surowe dane POST
Ta opcja została uznana za PRZESTARZAŁĄ w PHP 5.6.0 i została USUNIĘTA w PHP 7.0.0.
$HTTP_RAW_POST_DATA zawiera surowe dane POST. Zobacz always_populate_raw_post_data.
Generalnie, php://input powinno być używane zamiast $HTTP_RAW_POST_DATA.
To get the Raw Post Data:
<?php $postdata = file_get_contents("php://input"); ?>
Please see the notes here:
http://us.php.net/manual/en/wrappers.php.php