i've narrowed the problem down to either my INSERT statement, or something with the database.
Here's my post source, can you guys see anything wrong with it?
============================================================
<%@ LANGUAGE="VBSCRIPT" %>
<%
Set Conn = Server.CreateObject("ADODB.Connection"
Conn.ConnectionString = "DSN=mattfest"
Conn.Mode = adModeReadWrite
Conn.Open "mattfest", "sa", ""
%>
<%
IF Request.Form("author" = "" OR Request.Form("email" = "" OR Request.Form("subject" = "" OR Request.Form("Message" = "" OR Request.Form("author" = " " OR Request.Form("subject" = " " THEN
%>
You left one or more fields blank. Please <a href="javascript:history.back(1)">go back</a> to the post form and fill it in completely.
Author = Server.HTMLEncode(Request.Form("author")
Email = Server.HTMLEncode(Request.Form("email")
Subject = Server.HTMLEncode(Request.Form("subject")
Message = Smile(Server.HTMLEncode(Request.Form("Message"))
IP = Request.ServerVariables("REMOTE_ADDR"
Original = Request.QueryString("original"
TopicID = Request.QueryString("topic"
theDate = NOW
'Cookies! mmmm
' Sets cookies for the post form
Response.Cookies("lith2k"("Author"= Request.Form("Author"
Response.Cookies("lith2k"("Email"= Request.Form("Email"
Response.Cookies("lith2k".Expires= dateAdd("d", 90, now)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.