First, I am not a PHP coder. I found this email form example on the web.I have been using this on my website for a few years now, but more and more I am getting spam emails.The form does do some type of checking for spammers, but I have an issue that it does not cover.

One of the fields on my form is address, as in street address.

My question is, how can I check that field for a web address, and if it contains a web address, redirect the user to a page saying they've been blocked, or something to that effect?

Oh yes, before I forget..If you do want to log it, and block it, make sure you set a timer or figure out how to block bigger blocks of addresses: Otherwise the little script kiddies could flood your server.

Although I doubt little johnny in Mommy's basement has access to 5000 plus robots.. You just never know who does.