Reply to Re: XML instead of text

Your name:

Reply:


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-)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация