Join the Discussion

Your email address will not be published. Required fields are marked *

Discussion

  1. Matt

    should you not be stripping any dangerous characters and hashing the passwords?

    1. Anatoly Spektor

      Matt, you are absolutely right! Before saving values into database it is critical to escape/strip all special characters as well as hash the password! This example is to show how to validate data on the back-end. If you are interested in the hashing and escaping aspect, I would love to write a post about it too!

arrow