Posted by Nicos on 08/11/06 12:16
ZeldorBlat wrote:
> Nicos wrote:
> > Hello people,
> > i do this on my domain:
> > <?php
> > header("Content-type: text/xml");
> > header("Content-Type: ".$contentType."; charset=UTF-8");
> > readfile("http://www.contra.gr/rss/home?type=latest");
> > ?>
> >
> > and i get the XML data from other domain as text. How can i get it as
> > XML?
> >
> > Thanks,
> > Nicos
>
> XML is text -- in a specific format. I'm not entirely sure what you're
> asking.
When i open this file in Internet Explorer or Firfox, it doesn't show
the xml file as usual. (with +'s and -'s) just a plain uncolored text.
Navigation:
[Reply to this message]
|