You are here: Re: [PHP] ? PHP in XML document « PHP « IT news, forums, messages
Re: [PHP] ? PHP in XML document

Posted by Torgny Bjers on 08/15/05 10:27

Labunski wrote:

>Hello,
>
>Is it possible to write some PHP code lines in the XML document?
>
>e.g. I want to add <?php require_once("read_database.php"); ?> to the xml
>document, but
>I don't know the right syntax to do this.
>
>Btw, I need this, cause I'm trying to make CMS system for Flash page.
>

The easiest way to do this in Flash is to call a PHP script instead of
an XML file in Flash, that way you can render the XML document however
you want with PHP and load data directly from the database into XML or
whatever you wish. So, replace the XML filename for your PHP script, and
that way you should be able to add querystrings and whatnot too.

Regards,
Torgny

 

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

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