我已经使用 Codeigniter 创建了一个 XMLRPC Web 服务。我已经正确地得到了 XMLRPC Server 的响应。但我想在第三方网站上列出响应值。我得到数组值的响应。我在下面添加了 XMLRPC 客户端结果,
示例 url: http: //music-shop.saas.com/xmlrpc_client/listGeneres - 我在这个页面中得到 XMLRPC 响应(这只是 localhost url)。
结果是:
Array
(
[0] => Array
(
[id] => 8
[parent_id] => 0
[cart_id] => 2
[name] => Blues
[slug] => blues
[route_id] => 48
[description] =>
[excerpt] =>
[sequence] => 0
)
[1] => Array
(
[id] => 9
[parent_id] => 0
[cart_id] => 2
[name] => Country
[slug] => country
[route_id] => 49
[description] =>
[excerpt] =>
[sequence] => 0
)
[2] => Array
(
[id] => 10
[parent_id] => 0
[cart_id] => 2
[name] => Jazz
[slug] => jazz
[route_id] => 50
[description] =>
[excerpt] =>
[sequence] => 0
)
[3] => Array
(
[id] => 11
[parent_id] => 0
[cart_id] => 2
[name] => Hip hop
[slug] => hip-hop
[route_id] => 51
[description] =>
[excerpt] =>
[sequence] => 0
)
[4] => Array
(
[id] => 12
[parent_id] => 0
[cart_id] => 2
[name] => Audio CDs
[slug] => audio-cds
[route_id] => 52
[description] =>
[excerpt] =>
[sequence] => 0
)
[5] => Array
(
[id] => 13
[parent_id] => 0
[cart_id] => 2
[name] => Clothes
[slug] => clothes
[route_id] => 53
[description] =>
[excerpt] =>
[sequence] => 0
)
)
如何从第三方网站中的上述 URL 获取此数组值?我想将数组值废弃到一个新站点。
提前致谢。