开发者

How can I read xml from POST to IPN system?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜