cgchris99 Posted December 26, 2006 Share Posted December 26, 2006 I have a form for fogotten password. It seems one of the bots keeps selecting this page even though I have it in my robots.txt deny area.Any tips on code I can add to the form so it gets kicked out if not a real user?I have thought about a captcha but have never included one before. If you think this is the way to go, please give some guidance on how to code it.Thanks for any advice Link to comment https://forums.phpfreaks.com/topic/31882-how-to-stop-bots-from-accessing-certain-pages-besides-robotstxt/ Share on other sites More sharing options...
Vikas Jayna Posted December 26, 2006 Share Posted December 26, 2006 If you know the name of the bot, then you may be able to check the USER_AGENT in your script and terminate the execution if it matches the same. Link to comment https://forums.phpfreaks.com/topic/31882-how-to-stop-bots-from-accessing-certain-pages-besides-robotstxt/#findComment-147954 Share on other sites More sharing options...
Shu Posted December 26, 2006 Share Posted December 26, 2006 bots that don't follow robots.txt can be ip banned immediately. Link to comment https://forums.phpfreaks.com/topic/31882-how-to-stop-bots-from-accessing-certain-pages-besides-robotstxt/#findComment-147991 Share on other sites More sharing options...
cgchris99 Posted December 27, 2006 Author Share Posted December 27, 2006 I changed to code to email me the agent information anytime this is selection is run. Link to comment https://forums.phpfreaks.com/topic/31882-how-to-stop-bots-from-accessing-certain-pages-besides-robotstxt/#findComment-148328 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.