" /> <% Dim MM_editAction MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME")) If (Request.QueryString <> "") Then MM_editAction = MM_editAction & "?" & Server.HTMLEncode(Request.QueryString) End If ' boolean to abort record edit Dim MM_abortEdit MM_abortEdit = false %> <% ' IIf implementation Function MM_IIf(condition, ifTrue, ifFalse) If condition = "" Then MM_IIf = ifFalse Else MM_IIf = ifTrue End If End Function %> <% If (CStr(Request("MM_insert")) = "friendform") AND blnCAPTCHAcodeCorrect Then If (Not MM_abortEdit) Then ' execute the insert Dim MM_editCmd Set MM_editCmd = Server.CreateObject ("ADODB.Command") MM_editCmd.ActiveConnection = application("CONNHL") MM_editCmd.CommandText = "INSERT INTO dbo.tbllinks (contactname, contactemail, contactaim, linkurl, linkname, linkdescription, wherelink, siteid) VALUES (?, ?, ?, ?, ?, ?, ?, ?)" MM_editCmd.Prepared = true MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1", 201, 1, 100, Request.Form("contactname")) ' adLongVarChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param2", 201, 1, 100, Request.Form("contactemail")) ' adLongVarChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param3", 201, 1, 100, Request.Form("contactaim")) ' adLongVarChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param4", 202, 1, 100, Request.Form("linkurl")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param5", 202, 1, 100, Request.Form("linkname")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param6", 202, 1, 255, Request.Form("linkdescription")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param7", 202, 1, 255, Request.Form("wherelink")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param8", 5, 1, -1, MM_IIF(Request.Form("siteid"), Request.Form("siteid"), null)) ' adDouble MM_editCmd.Execute MM_editCmd.ActiveConnection.Close ' append the query string to the redirect URL Dim MM_editRedirectUrl MM_editRedirectUrl = "signedup.htm" If (Request.QueryString <> "") Then If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0) Then MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString Else MM_editRedirectUrl = MM_editRedirectUrl & "&" & Request.QueryString End If End If Response.Redirect(MM_editRedirectUrl) End If End If %>

Signup for our link exchange here...

 

*All fields except AIM are required

<% If NOT blnCAPTCHAcodeCorrect AND request.form("xx") <> "" Then %>

CAPTCHA code was incorrect.

<%end if %>
Your Name: A value is required.
Your Email: " id="contactemail" /> A value is required.Invalid format.
Your AIM:
(aol instant messanger if you have one)
" id="contactaim" />
Your URL:
(where should we send hits)
" id="linkurl" /> A value is required.Invalid format. must be http://etc...
Site Title:
(What do you want the link to say)
" id="linkname" /> A value is required.
Site Description:
(describe the site, a few words)
" size="40" />
Where:
where do I find the link on your site
" size="40" />
Prove you are Human.
(write the text
you see in the box)
 
" />

 

 

 

Return to the home page