I’m trying to make a IPN system work.
They post to my url an XML. I’ve tried to read it using simplexml_load_file but I can’t. How can i read it?
Also, is there any way of logging the referrer of the IP that is making the POST?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
You want simplexml_load_string
You should be able to get the client’s IP through
$_SERVER["REMOTE_ADDR"]