|
Posted by IchBin on 08/10/06 17:08
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-)
Navigation:
[Reply to this message]
|