You are here: Re: piping php-generated xml to flash « PHP SQL « IT news, forums, messages
Re: piping php-generated xml to flash

Posted by Henri on 12/19/05 15:49

Nicholas Sherlock wrote:
> Henri wrote:
>
>> what I want is this: xmlData.load("query.php") where query.php would
>> be something like
>>
>> <?php
>>
>> echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>"
>> echo "<images>";
>> echo "<img_data>";
>> echo "<val title=\"$title\"/>
>> echo "<val path=\"$path\"/>
>> echo "</img_data>
>> echo "</images>
>>
>> ?>
>
>
> Yes? That sounds fine, what problems are you having with it? You may
> need to call:
>
> Header('Content-type: text/xml');
>
> before you start echo'ing.
>
> Cheers,
> Nicholas Sherlock

Thanks Nicholas.

In fact, I somehow knew it was possible just after hitting the sent
button. "voicing" the question gave me the answer. I've tried it and
after several attempts managed to get it to work. oh, and you don't need
the Header('Content-type: text/xml') thing, or ,at least, it works well
without it.

This flash:php:mysql:xml stuff is quite exciting!

--

The Dude once said,
"Yeah, well, you know, that's just, like, your opinion, man."

 

Navigation:

[Reply to this 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

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