|
Posted by Nicos on 08/11/06 12:15
IchBin wrote:
> 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.
> >
>
> You have to look at the XML parsing classes to parse the file to extract
> the values..
>
> Thanks in Advance...
> IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
> __________________________________________________________________________
>
> 'If there is one, Knowledge is the "Fountain of Youth"'
> -William E. Taylor, Regular Guy (1952-)
Can't i just copy an xml file from another server to mine instead of
parsing the file?
Navigation:
[Reply to this message]
|