Chapter 8. Security

The security of your Web applications is such an important topic that I always include a specific chapter on the subject in my books. Although I’ve been mentioning security-related issues throughout this book, this chapter will help to fill in certain gaps and finalize other points.

The topics discussed here include HTTP authentication with PHP, form validation with JavaScript, using regular expressions, and database security. Unlike the past two chapters—which used a cohesive series of examples—this chapter will use several discrete examples.

Get PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide 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.