CHAPTER 4

image

Secured User Interfaces

“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 JavaScript code to validate user input
  • Use PHP if statements (conditional statements) to validate and ...

Get Learn PHP 7: Object-Oriented Modular Programming using HTML5, CSS3, JavaScript, XML, JSON, and MySQL 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.