hello,
I've found myself in a little dilemma.
I have an asp script here that i need converted to php. I'm not familiar with php so i wont even attempt the feat.
I've tried to contact my hosting provider and get asp support but no reply (not impressed).
If anyone could offer a hand it would be greatly appreciated.
Thanks
effour
asp script
<%@ Language=VBScript %>
<%
Response.Buffer = true
Dim myMail, mtextz, mtext01, mtext02, mtext03, mtext04, mtext05
mtext01 = "Seeking: " & Request.Form("gender") & vbcrlf
mtext02 = "Ages: " & Request.Form("ageOne") & " " & Request.Form("ageTwo") & " " & Request.Form("ageThree") & " " & Request.Form("ageFour") & vbcrlf
mtext03 = "Enjoys: " & Request.Form("enjoySports") & " " & Request.Form("enjoyNightLife") & " " & Request.Form("enjoyChillin") & " " & Request.Form("enjoyNature") & vbcrlf
mtext04 = "For: " & Request.Form("forFriendship") & " " & Request.Form("forRomance") & " " & Request.Form("forMarriage") & vbcrlf
mtext05 = "Email: " & Request.Form("email") & vbcrlf
mtextz = mtext01 & mtext02 & mtext03 & mtext04 & mtext05
Set myMail = Server.CreateObject("Persits.MailSender")
if Request.Form("email") = "" then
myMail.From = "No name"
else
myMail.From = Request.Form("email")
end if
ReplyAddress = Request.form("email")
myMail.Host = "mail.YourHost.net" ' Check with your server admin what the Host Name for you is
myMail.From = "YourName@YourDomainOrHost.net" ' Check with your server admin what your e-mail address for the domain is
myMail.AddReplyTo ReplyAddress
myMail.AddAddress "You@YourDomain.com" ' This is the e-mail address you want the mails to be forwarded to
myMail.Subject = "Quick Match" ' Change the subject to something else if you want 🙂
myMail.Body = mtextz
myMail.Send
Set myMail = Nothing
Response.write "Status=Your form has been sent"
%>