Coders,

Does anyone here happen to have an example of a script that saves posted data directly 
to a file?  What I am trying to build is a simple script that takes data from an 
XML.send in Flash, and saves it to a specified file.  I don't want to parse it or 
anything, just save it exactly as it is sent.


Example syntax:

www.theserver.com/cgi-bin/savexml.pl?file=thefile

I would send the XML via a post.  Is it possible to use a combination GET and POST 
like that, or would I need to send everything in the POST?  If I did, then I'd have to 
turn the XML into a string, escape it, and send it along with the filename in a 
traditional GetURL, which doesn't seem as elegant a solution.

I'll be playing with different procedures, but I was wondering if anyone has done this 
before.  Thanks for your help.

-g

Visit Zanpo, Virtual City
http://www.zanpo.com


Reply via email to