I dont even know if this is possible, but i just discovered that ASP is not supported by my hosting company, but PHP and CGI are.
Can anyone help with a translation from ASP to PHO or CGI?
I’m not familiar with either really.
all it is is a form that sends out an email and redirects to another page:
" Option explicit
Dim sbname, surl, sfname, slname, saddy, scity, szip, sstate, scountry, semail1, semail2, srelationship, sphoto, sgenere, sgenoth, sseeking, ssigned, sinf1, sinf2, sinf3, sinf4, sbio
sbname = Request.Form("bname")
surl = Request.Form("url")
sfname = Request.Form("fname")
slname = Request.Form("lname")
saddy = Request.Form("addy")
scity = Request.Form("city")
sstate = Request.Form("state")
szip = Request.Form ("zip")
scountry = Request.Form("country")
semail1 = Request.Form("email1")
semail2 = Request.Form("email2")
srelationship = Request.Form("relationship")
sphoto = Request.Form("photo")
sgenre = Request.Form("genre")
sgenoth = Request.Form("genoth")
sseeking = Request.Form ("seeking")
ssigned = Request.Form("signed")
sinf1 = Request.Form("inf1")
sinf2 = Request.Form("inf2")
sinf3 = Request.Form("inf3")
sinf4 = Request.Form("inf4")
sbio = Request.Form("bio")
Dim oMail
Set oMail = Server.CreateObject ("CDONTS.NewMail")
oMail.BodyFormat = 0 'HTML
oMail.MailFormat = 0 'MIME
oMail.From = semail1
oMail.To = "EMAIL ADDRESS HERE"
oMail.Subject = "FORM Submission"
oMail.Body = "INFORMATION<br><br>" & _
sbname & "<BR>" &_
surl & "<BR>" &_
sfname & "<BR>" &_
slname & "<BR>" &_
saddy & "<BR>" &_
scity & "<BR>" &_
sstate & "<BR>" &_
szip & "<BR>" &_
scountry & "<BR>" &_
semail1 & "<BR>" &_
semail2 & "<BR>" &_
srelationship & "<BR>" &_
sphoto & "<BR>" &_
sgenre & "<BR>" &_
sgenoth & "<BR>" &_
sseeking & "<BR>" &_
ssigned & "<BR>" &_
sinf1 & "<BR>" &_
sinf2 & "<BR>" &_
sinf3 & "<BR>" &_
sinf4 & "<BR>" &_
sbio & "<BR>" &_
"<br><br>"
oMail.Send
Set oMail = nothing
Response.Redirect "http://www.website.com/thankyou.html"
"
(I HAD TO LEAVE OUT THE LITTLE PERCENT GREATER THAN THINGS ON PURPOSE… THE CODE WAS COMING OUT BLANK)
Thank you in advance