My host has disabled all socket functions except curl. They are so irresponsible on my questions to allow this. I can think of another hosting, but I want to know the following.
I asked a question related to this, and this is a continuation of another question.
I cannot 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 is there an alternative to getting the source data.
For example, I have a notification notification callback URL with facebook function. therefore, when there will ever be an event, facebook will send the information to my URL for a particular site.
so I need to read the source data from facebook and in accordance with the above description I want to find out alternatives for php: // input and $ HTTP_RAW_POST_DATA.
Is it possible to read the general content when some messages on my site, including the header, so that I can remove part of the header and use the body of the message?
yes ... we can get the full content when any authority publishes any content.
source share