Hello all,
I got this form that works perfectly with php. Unfortunately, the host for the company’s site doesn’t support php. so I’m trying to create an .asp form and have had no success whatsoever. If anyone can help, Id apprecite it greatly. Right now, I’m just trying to get one variable sent, which is the “Name” field. The text fields variable in Flash is “Namefield”. Here is the asp script I have:
[size=2]<%@ Language=VBScript %>
<%
Dim myMail, myBody
myBody = "Name: " & request.form(“Namefield”) & vbcrlf
[/size][font=Times New Roman][size=2]Set myMail = CreateObject(“CDONTS.NewMail”)
[/size][/font][size=2]myMail.BodyFormat=1
myMail.MailFormat=1
myMail.From=request.form(“Email”)
myMail.To= "me@mydomain.com"
myMail.subject=“test”
myMail.Body=myBody
myMail.Send
set myMail=nothing
%>
Here is the AS on the submit button:
on (release) {
loadVariablesNum(“contact.asp”, 0, “POST”);
}
Anyone see anything wrong with this?
Thanks in advance!
[/size][font=Times New Roman][size=2][/size][/font][size=2]
[/size][font=Arial][size=2]
[/size][/font]