PDA

View Full Version : Generating an XML file with PHP?


DiscipleX
02-11-2008, 06:31 PM
Hey guys, I'm wondering if it's possible to create a hard-copy XML file with PHP?

Basically, I'm thinking of using it as a boot-leg database, where flash writes the xml, and then php creates the XML file directly on the server, where it can be accessed afterwards in the flash movie.

Is this possible?

Thanks for the help in advance!

CyanBlue
02-11-2008, 06:56 PM
Howdy and Welcome... :)

Yup... That sure is possible...

DiscipleX
02-12-2008, 03:05 AM
Stupendous! Perhaps you would know my next question then--

What would the php script to do this be? In the fewest lines of code possible?

Thanks again!

atomic
02-12-2008, 03:37 AM
Here's one from .html...

http://www.topxml.com/php_simplexml/simplexml_create_xml_doc.asp

And from Flash?

http://arulprasad.blogspot.com/2006/06/saving-xml-from-flash-using-php.html

asf8
02-15-2008, 07:21 PM
Here's one from .html...
http://www.topxml.com/php_simplexml/simplexml_create_xml_doc.asp
And from Flash?
http://arulprasad.blogspot.com/2006/06/saving-xml-from-flash-using-php.html

Nice links Atomic, thank you! ;)

atomic
02-15-2008, 07:54 PM
Welcome! ;)