Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7877485
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T03:23:05+00:00 2026-06-03T03:23:05+00:00

My hosting comp has disabled all the socket functionality except curl. They are so

  • 0

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.

I have asked a question related to this and this is a continuation yet another question.

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.

So what is or are the alternatives to get a raw post data.

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.

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.

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?

yeah… we can get the complete contents when some body posts any content.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T03:23:06+00:00Added an answer on June 3, 2026 at 3:23 am

    When file_get_contents() is disabled you can use the great functionality of PEAR::PHP_Compat. It consists of an replacement for file_get_contents().

    Simply download the latest package, extract it and use it like this:

    require_once '/path/to/PHP_Compat-1.6.0a3/Compat/Function/file_get_contents.php';
    
    $content = php_compat_file_get_contents('http://example.com');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My hosting provider does not have curl extension enabled by default, however, I can
My hosting has multiple deployments of my site (dev, stage, production). How can I
My hosting provider (webhosting.uk.com) for security reason has disabled the PHP mail() function requiring
My hosting provider (pairNetworks) has certain rules for scripts run on the server. I'm
My hosting service just informed me that they don't have Git installed on any
my hosting server has magic_quotes on . so when i use parse_str, it also
I am self-hosting a Firefox add-on that users can download from my website. When
I had my hosting company install Red5 on my server and they sent me
Currently I am hosting my open source project in Google Code. And they provide
When hosting a WCF service on IIS you have an option of manually configuring

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.