Thanx to everyone for the input. It was the $HTTP_RAW_POST_DATA item that I was unaware of.
P. >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:flashcoders- >> [EMAIL PROTECTED] On Behalf Of Chester McLaughlin >> Sent: Thursday, November 09, 2006 8:27 PM >> To: Flashcoders mailing list >> Subject: Re: [Flashcoders] Need help from PHP coder >> >> Here's a very simple example I got working >> >> 1) create php file called saveXML.php >> 2) create xml file called myxml.xml >> 3) make sure php can write to myxml.xml file >> >> >> // START ACTIONSCRIPT >> >> var null_xml:XML = new XML(); >> var my_xml:XML = new XML("<node><child>chester</child></node>"); >> my_xml.contentType = "text/xml"; >> >> // Send to a specific HTML window (_blank, _self, _top, etc); >> //my_xml.send("saveXML.php","_self"); >> >> // Send in the background >> my_xml.sendAndLoad("saveXML.php",null_xml); >> >> // END ACTIONSCRIPT >> >> <! -- START PHP --> >> >> <? >> $fp=fopen("myxml.xml","w"); >> fwrite($fp,$HTTP_RAW_POST_DATA); >> fclose($fp); >> ?> >> >> <! -- END PHP --> >> >> >> On Nov 9, 2006, at 2:49 PM, Pete Miller wrote: >> >> > >> > "Learn PHP" is still on my to-do list, and now I'm fumbling my way >> > through a few simple PHP scripts. I simply want to send an XML object >> > to a PHP script that will write it to the server. What PHP function >> > will catch the end result of a XML.send() function? No need for too >> > many details, I'll read up on it, but if someone could name the proper >> > function? >> > >> > Thanx, >> > >> > P. >> > _______________________________________________ >> > Flashcoders@chattyfig.figleaf.com >> > To change your subscription options or search the archive: >> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > >> > Brought to you by Fig Leaf Software >> > Premier Authorized Adobe Consulting and Training >> > http://www.figleaf.com >> > http://training.figleaf.com >> >> >> This email and any files transmitted with it are confidential and >> intended solely for the use of the individual or entity to whom they are >> addressed. If you are not the named addressee you should not >> disseminate, distribute or copy this e-mail Please notify the sender >> immediately by e-mail if you have received this e-mail by mistake and >> delete this e-mail from your system. Any other use, retention, >> dissemination, forwarding, printing or copying of this e-mail is strictly >> prohibited. Finally, the recipient should check this e-mail and any >> attachments for the presence of viruses. Lambesis accepts no liability >> for any damage caused by any virus transmitted by this email. >> >> _______________________________________________ >> Flashcoders@chattyfig.figleaf.com >> To change your subscription options or search the archive: >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> Brought to you by Fig Leaf Software >> Premier Authorized Adobe Consulting and Training >> http://www.figleaf.com >> http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com