【发布时间】:2023-03-25 19:36:02
【问题描述】:
我需要从以下访问属性国家/地区的值(不使用 xpath): http://apps.db.ripe.net/whois/lookup/ripe/inetnum/79.6.54.99.xml
这是我到目前为止所做的
$xml = simplexml_load_file("http://apps.db.ripe.net/whois/lookup/ripe/inetnum/79.6.54.99.xml");
$country = $xml->objects->object->attributes->attribute ... ???
【问题讨论】: