Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用 php- 从这个 url 读取数据和 xml 属性值
旅程规划师
我以前从未使用过xml..所以我需要一些建议来完成我的任务..
您可以simplexml_load_file(string $filename)为此使用。只需将完整的 URL 传递给此函数,例如:
simplexml_load_file(string $filename)
$url="your url"; $xmlinfo = simplexml_load_file($url); print_r($xmlinfo);