Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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