Hi friends,
when i try to use this code
Code:
$cont = file_get_contents("http://google.com");
echo $cont;
it works fine and display google site. But how can i get the contents of an XML file? with the same code.

Code:
$cont = file_get_contents("http://site.com/XMLFILE.xml");
echo $cont;
i does not get the contents of XML file. Please help me to get it working