hi,
can somebody please help convert this asp code to php?
<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft FrontPage 5.0">
</HEAD>
<BODY>
<P> </P>
<form id=form1 name=form1>
<%
dim comDate
dim comName
comDate = Request.Form("hdndate")
comName = Request.Form("hdnComName")
'Response.Write (comName)
'Response.End
Set MyMail = Server.CreateObject("CDONTS.NewMail")
MyMail.From = "
[email protected]"
MyMail.To = "
[email protected]"
MyMail.Subject = "hi Admin"
MyMail.Body = comName & " is registered by xyz on " & comDate
MyMail.Send
Set MyMail = Nothing
Response.Write "You have registered succesfully. Please contact Admin"
%>
</form>
</BODY>
</HTML>