gazfocus Posted July 13, 2008 Share Posted July 13, 2008 I am currently working on my churches website and it has been created in ASP (and I know nothing about ASP). One of the things they've asked me to do is put some sort of verification on the contact form due to someone sending messages about porn websites through our contact form. Is there a way to add verification to the form so that it will check for certain words and HTML content and if it finds them, refuse to send the message? Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/114530-asp-contact-form-verification/ Share on other sites More sharing options...
gazfocus Posted July 20, 2008 Author Share Posted July 20, 2008 Anyone??? Quote Link to comment https://forums.phpfreaks.com/topic/114530-asp-contact-form-verification/#findComment-595008 Share on other sites More sharing options...
trq Posted July 20, 2008 Share Posted July 20, 2008 Is there a way to add verification to the form so that it will check for certain words and HTML content and if it finds them, refuse to send the message? Of course there is, we need to see some code however before we can help any. Otherwise, a simple example.... s = "hello this is foo, whats going on?" if strcomp(s,"foo") then response.write "foo found" else response.write "foo not found" end if This assumes you using vbscript (asp can be written in many different languages). Quote Link to comment https://forums.phpfreaks.com/topic/114530-asp-contact-form-verification/#findComment-595014 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.