| 
	
 | 
 Posted by Brian on 06/07/05 05:54 
I'm starting to understand this XML stuff. 
 
I have found a script on the net which I have tested and works 
fine. 
I have now tried to open the demo file from a remote server 
by changing 
$xmlSource="movies.xml"; 
to 
$xmlSource = file_get_contents('http://www.myotherserver.co.uk/movies.xml'); 
 
and get an error while reading the XML file, but if I change the file to a  
txt file on 
the same server it reads fine 
 
Any ideas? 
 
 
Brian 
 
 
 
 
 
"ZeldorBlat" <zeldorblat@gmail.com> wrote in message  
news:1118094145.582888.11810@g14g2000cwa.googlegroups.com... 
> Not a page as in an HTML page, but an HTTP response, nonetheless.  You 
> can still use file_get_contents() to get the string. 
> 
> As for a parser, there are a couple for PHP -- some of which are 
> included by default, others which need to be compiled in.  Take a look 
> at this one: 
> 
> http://www.php.net/xml 
>
 
  
Navigation:
[Reply to this message] 
 |