开发者

How can I read xml from POST to IPN system?

开发者 https://www.devze.com 2023-03-29 03:26 出处:网络
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?

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 t开发者_JAVA百科he IP that is making the POST?


You want simplexml_load_string

You should be able to get the client's IP through $_SERVER["REMOTE_ADDR"]

0

精彩评论

暂无评论...
验证码 换一张
取 消