denoteone Posted February 22, 2010 Share Posted February 22, 2010 I am getting hit hard by spam. I tried adding a hidden field to stop bots but still getting hit hard. I want to add a check to make sure that the page that submitted the form info was from my site. something like... if (REFFER_PAGE != www.mydomian.com ) { die(); }else{ submit data } Should that work? The form appears on many pages but they all fall under the same domain.. any help would be great. Link to comment https://forums.phpfreaks.com/topic/192982-check-referrer-page/ Share on other sites More sharing options...
denoteone Posted February 22, 2010 Author Share Posted February 22, 2010 found a great script here http://www.trap17.com/index.php/Check-Referrer-Prevent-Linking-Sites_t40295.html Link to comment https://forums.phpfreaks.com/topic/192982-check-referrer-page/#findComment-1016326 Share on other sites More sharing options...
dbrimlow Posted February 22, 2010 Share Posted February 22, 2010 You SHOULD use a captcha on your form pages. It's easy to get, install and use. And the new two word chapchta is much better than the old hard to read versions. http://recaptcha.net/ Link to comment https://forums.phpfreaks.com/topic/192982-check-referrer-page/#findComment-1016460 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.