【问题标题】:how to redirect and seprate out the server response in php curl如何在php curl中重定向和分离服务器响应
【发布时间】:2017-03-30 18:08:01
【问题描述】:

我正在使用 cURL 并在 xml 中获得 API 响应,但浏览器打印包含 url 和事务 id 的单行。任何人都可以帮助我将两者分开并加载 url 而不打印它?

【问题讨论】:

标签: php xml codeigniter curl


【解决方案1】:

使用字符串函数(preg_replacestr_replace)解析您需要的值。

【讨论】:

    猜你喜欢
    • 2013-01-08
    • 1970-01-01
    • 2018-09-26
    • 1970-01-01
    • 2017-10-18
    • 1970-01-01
    • 2017-11-25
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多