% @ Language=VBScript %>
<% Option Explicit
response.buffer=true%>
<% dim num
num = Request.ServerVariables("SCRIPT_NAME")
application.lock
if isEmpty(application(num)) Then
application(num)=0
END IF
application(num)=application(num)+1
application.unlock
%>
<%
dim newmail, strfeed, ipadd, brow, now, msgbody, date, strash1, strash2, strash3, strnam, strlast, stremail, strtel, strcount, stradd, strcom
brow = Request.servervariables("HTTP_USER_AGENT")
ipadd= Request.ServerVariables("REMOTE_ADDR")
date = time
strash1 = Trim(Request.Form("rashi1"))
strash2 = Trim(Request.Form("rashi2"))
strash2 = Trim(Request.Form("rashi3"))
strnam = Trim(Request.Form("name"))
strlast = Trim(Request.Form("company"))
stremail = Trim(request.form("Email"))
strtel = Trim(request.form("telephone"))
strcount = Trim(request.form("fax"))
stradd = Trim(request.form("address"))
strcom = Trim(request.form("comments"))
num = application(num)
msgbody = ("Where did you hear of us? : " & strnam & vbcrlf & "Specific question : " & strnam & vbcrlf & "Mobile Application : " & strnam & vbcrlf & "Name: " & strnam & vbcrlf & "Company: " & strlast & vbcrlf & "Email: " & stremail & vbcrlf & "Tel: " & strtel & vbcrlf & "Fax: " & strcount & vbcrlf & "Address: " & stradd & vbcrlf & "Comments: " & strcom & vbcrlf & "PC info:" & "IP:" & ipadd & "Browser: " & brow & "Time:" & date & "Hits:" & num &"times!")
if (strnam <> "" and stremail <> "")then
Set Newmail = Server.CreateObject ("cdonts.newmail")
Newmail.From = stremail
Newmail.To = "harpreet@datawind.com"
Newmail.Subject = "Partners:" & strnam
Newmail.Body = msgbody
Newmail.Send
Set Newmail = Nothing
response.redirect "Thanks.htm"
End if
%>
WELCOME TO DATAWIND
|
|
|
|
| |
| |
|
|
|
|
| ------------------------------------------------------------------------------------------------------ |
|
|
Copyright 2008@DataWind.com |
|
|