PDA

View Full Version : cgi form


Paul Longhurst
09-27-2002, 07:21 PM
Hi Im New to Flash and am trying without sucsess to use a cgi script.

I have the following code from my isp

<FORM ACTION="/cgi-bin/mailform" method="get">

end your script with: </Form>

this code can not be changed.

please tell me how I can associate the 3 text fields that I have requested users to fill in. and how to send them to the cgi-bin folder on the server.

the recipiant mail adress is standard going to the webmaster as defult?.

jimburton
09-27-2002, 09:31 PM
You need text fields of the "Input" type for the user to fill in, with the names of the form fields required by the cgi, and a button with an action of getURL("cgi-bin/mailform","GET") (or POST to send the form fields in the http header rather than querystring) if you want to go straight to that page, or more likely you just want to send the email and carry on with your movie, so use loadVariables("cgi-bin/mailform","GET") (or post).