Thats actually a pretty good idea. Thanks However it's not quite as professional as having a verification code
It is *not* professional having a big pink/yellow/orange and green, number letters and stripes image on your page! Notting
Oh yeah, for people wanting to check that the referrer is from the same site, herre is you PHP code: // Check referrer is from same site. if(!(isset($_SERVER['HTTP_REFERER']) && !empty($_SERVER['HTTP_REFERER']) && stristr($_SERVER['HTTP_REFERER'],$_SERVER['HTTP_HOST']))){$errors[] = "You must enable referrer logging to use the form";} PHP: Enjoy!! Notting
Note that there's no need to use isset() and empty(), in this case. I guess you're using isset() to avoid E_NOTICE errors when the referrer is not set. empty() is a language construct, and won't throw errors or notices when the variable isn't set.
Work great, but not working with the smart bots. All the newer bots know this trick. Bots are smarter than you think. The better solution is to give the input field this css code: position:absolute; bottom: -200px; Code (markup): to place the field out of screen area. This trick is much harder to recognize (for now...).
I have an phpLD directory that was spammed very often. I removed the eMail input. The bots didn't notice, so in my database appeared submissions with e-mail. I ran once a day a script that removed all the records that had eMail (were about 40% of the total records). The other ones were clean, with some minor exceptions. I was thinking about dynamically changing the input boxes' names and relative position, so the bots will not know which one to fill and in which order. In this way, I believe it would be very hard for them even to adapt. What do you think?