Answered
Form Email Script
I need the code to send a form to my cgi -bin at my hosting
company. I can do it in html but would like to do it in flash. I
have everything I need except the proper code for the hidden files
which redirect the form fields to my email address.
See exerpt below...
if (name_txt.text != "" && email_txt.text != "" && comments_txt.text != "")
{
my_lv.send(" http://www.mysite.com/cgi-bin/FormMail.pl","_blank","POST");
"help here" //INPUT TYPE="hidden" NAME="recipient" VALUE="me@myemail.com"
"help here" //INPUT TYPE="hidden" NAME="subject" VALUE="Title of Email"
gotoAndStop("_success");
}
else
{
gotoAndStop("_failure");
}
}
Any ideas?
Thanks
See exerpt below...
if (name_txt.text != "" && email_txt.text != "" && comments_txt.text != "")
{
my_lv.send(" http://www.mysite.com/cgi-bin/FormMail.pl","_blank","POST");
"help here" //INPUT TYPE="hidden" NAME="recipient" VALUE="me@myemail.com"
"help here" //INPUT TYPE="hidden" NAME="subject" VALUE="Title of Email"
gotoAndStop("_success");
}
else
{
gotoAndStop("_failure");
}
}
Any ideas?
Thanks
