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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.