title: what are the alternatives for php://input and $HTTP_RAW_POST_DATA when file_get_contents and always_populate_raw_post_data are disabled
body: <p>My hosting comp has disabled all the socket functionality except curl. They are so irresponsible on my questions for enabling it. i can think of another hosting yet i want to know the following.</p>
  
  <p>I have asked a question related to this and this is a continuation yet another question.</p>
  
  <p>I am unable to use file_get_contents('php://input') and always_populate_raw_post_data is disabled in php.ini so i cannot use $HTTP_RAW_POST_DATA.</p>
  
  <p>So what is or are the alternatives to get a raw post data.</p>
  
  <p>For example i have setup notifications callback url with facebook. so when ever there is an event then facebook will post information to my site's specific url.</p>
  
  <p>so i need to read the raw post data from facebook and according to the above description i want to know the alternatives for php://input and $HTTP_RAW_POST_DATA.</p>
  
  <p><strong>is it possible to read total content when some body posts to my site including the header so that i can strip off the header part and can use the body of the post?</strong></p>
  
  <p>yeah... we can get the complete contents when some body posts any content.</p>