Originariamente inviato da satifal
codice:
...
$xmlstring = file_get_contents("http://xxxxx/xxx.asp");
...
Tu stai leggendo un file .asp e non XML, a meno che esso non generi un file XML.

Bhe.... ovvio che genera un file XML!!!!!!


<events><event><id>1011</id><date>10/12/2011</date><title Formula Challenge</title><description>http://www.dominio.com</description><type>Demo</type><idlocation>0</idlocation><location></location><address></address><zip></zip><town>Monza</town><city>MB</city><state>IT</state><phone>sads</phone><mobile></mobile><email>redazione@dominio.com</email><internet>http://www.dominio.org</internet><updated>0</updated></event> .....ecccccc