Reputation: 41
I want to use PHP to load a XML from a URL like "HTTP://127.0.0.1/19/1", how can I do it? I tried several ways but they all failed.. so just ask for help here..thanks
Upvotes: 0
Views: 624
Reputation: 12831
<?php $x=simplexml_load_file("HTTP://127.0.0.1/19/1"); ?>
Upvotes: 1