© Steve Prettyman 2020
S. PrettymanLearn PHP 8https://doi.org/10.1007/978-1-4842-6240-5_5

5. Secured User Interfaces

Steve Prettyman1 
(1)
Key West, FL, USA
 

All great ideas look like bad ideas to people who are losers. It's always good to test a new idea with known losers to make sure they don't like it. —Dilbert 11/18/97 (http://dilbert.com/strips/comic/1997-11-18/)

Chapter Objectives/Student Learning Outcomes

After completing this chapter, the student will be able to
  • Explain why user input must be validated in the interface and business rules tiers

  • Explain why user input must be filtered in the business rules tier

  • Use HTML5 code to validate user input

  • Use PHP if statements (conditional statements) to validate and filter input

  • Use the foreach loops to ...

Get Learn PHP 8: Using MySQL, JavaScript, CSS3, and HTML5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.