Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

PHP Build a Basic PHP Website (2018) Adding a Basic Form Redirecting After a Form Submission

Protect form submission from Robots???

Alena talks about how to protect users from accidentally submitting a form twice, but how can we protect against bots from submitting our for hundreds of times and crashing our server? Many websites seem to use CAPTCHA??? Is this the best way in 2017?

What is the best way today to protect against bots? If there's a treehouse lesson in a different section can someone please direct me to the lesson.

Thanks in advance :)

1 Answer

Algirdas Lalys
Algirdas Lalys
9,389 Points

Hi jaycode,

Well after couple of videos, Alena will show some protection from evil robots:) https://teamtreehouse.com/library/validating-form-data