I've created a contact form in Flash and the script can't
find the URL at Earthlink. I've talked to EL and they said use the
EL CGI html code and incorporate in the Flash script. I tried a
multitude of ways and get constant syntax errors. My code has no
errors but can't find the URL. I've attached my code and
Earthlink's sample code. Can someone show me where to put what?
Thanks for any and all help.
Earthlink's code:
<h1>Sample Form</h1>
<hr>
<form method="post" action="
http://www.domain.com/cgi-bin/mailto">

<input type="hidden" name="RECIPIENT"
value="user@domain.com"> 
<input type="hidden"
name="THANKURL" value="
http://www.domain.com/thankyou.html">

<p> 
<b>Name:</b><input
type="text" name="name" size="30"><br>

<b>Email:</b><input type="text" name="email"
size="30"><p>

<b>Comments:</b><br> 
<textarea
name="comments" rows="10"
cols="50"></textarea>
<p> 
<input
type="submit" value="Send"> 
<input type="reset"
value="Clear"> 
</form> 
<p>
My Flash Code:
stop();
send_btn.onRelease = function() {
var my_lv:LoadVars = new LoadVars();
my_lv.firstName = firstName_txt.text;
my_lv.lastName = lastName_txt.text;
my_lv.email = email_txt.text;
my_lv.phone = phone_txt.text;
if (firstName_txt.text != "" && lastName_txt.text !=
"" && email_txt.text != "" && comments_txt.text !=
"")
{
my_lv.send("
http://www.domain.us/cgi-bin/mailto:me@domain.us","_blank","POST");
gotoAndStop("success");
}
else
{
gotoAndStop("error");
}
}