I am trying to get some xml data into my web page using php. When I am placeing the url into a web browser it is showing some xml data. But when I am doing that from inside a php page it is returning some empty data.
My code looks like -
<?php $url = "http://www.webservicex.net/CurrencyConvertor.asmx/ConversionRate?FromCurrency=USD&ToCurrency=INR"; $xml = simplexml_load_file($url); print "<pre>"; var_dump($xml); print "</pre>"; ?>
And it is returing -
PLEASE HELP ME