So, I have perform two steps
a) Create a some random xml file in one of the php file. b) Parse the same xml file in second file.
Key points are that php file in a) will issue a post request to php file b) with only xml as its request.
file b) will have to read the xml file using SImpleXml.
I am trying to do something for this http://blog.superfeedr.com/API/pubsubhubbub/getting-started-with-pubsubhubbub/.
I my server will be receiving notifications in form of xml from the the superfeeder. The notifications will be xml file in the request.
I am doing step a) just to confirm that my part b) is correct.
How to do this in PHP. I tried all the $_REQUEST, $GLOBALS variable. But, not sure whats the way!