Hi friends,
when i try to use this code
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://google.com"); echo $cont;
i does not get the contents of XML file. Please help me to get it workingCode:$cont = file_get_contents("http://site.com/XMLFILE.xml"); echo $cont;





Reply With Quote