Php reading xml in post request

前端 未结 2 1750
没有蜡笔的小新
没有蜡笔的小新 2021-01-21 15:07

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 i

2条回答
  •  执笔经年
    2021-01-21 15:42

    If you want to send POST data from PHP, you could use cURL. You can't set $_POST or $_REQUEST at the sending side and expect them to be set at the receiving end as well.

    Have a look at this question: Send XML over HTTPS/POST via cURL?

提交回复
热议问题