Thanks for the reply... As you can tell, I'm trying to write the results of my simple form to a file, can be any format, i.e., text, XML, etc. to preferably an email address or to a text file. What I'd like to see in the file would look like this
Name: John Smith Address1: 234 Main St Address2: Suite 100 City: Los Angeles State: CA Zip: 90028 Email: [EMAIL PROTECTED] Is there a way to do this? Can't seem to find any info in the Flex docs...thanks again... --- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > I don't think you can post to a .txt file. That would be way too easy. > I mean, you need some server-side program to accept the url and write > the file. Have you ever posted to a .txt file in any other language? > What are you expecting such a file to look like? > > > > Tracy > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of danj520 > Sent: Tuesday, January 09, 2007 3:34 PM > To: [email protected] > Subject: [flexcoders] POST not working > > > > Anyone know why this isn't working? When run, nothing is posted..all > form fields exist and are valid...thanks in advance... > > <mx:HTTPService id="userRequest" > url="data/forms/contact.txt" useProxy="false" > method="POST"> > <mx:request xmlns=""> > <username>{nameInput.text}</username> > <address1>{address1.text}</address1> > <address2>{address2.text}</address2> > <city>{city.text}</city> > <state>{state.text}</state> > <zip>{zip.text}</zip> > <country>{country.text}</country> > <emailaddress>{emailInput.text}</emailaddress> > </mx:request> > </mx:HTTPService> >

