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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of danj520
Sent: Tuesday, January 09, 2007 3:34 PM
To: flexcoders@yahoogroups.com
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>

 

Reply via email to