13. Security Methods

The security of your web applications is such an important topic that it really cannot be overstressed. Although security-related issues have been mentioned throughout this book, this chapter will help to fill in certain gaps, finalize other points, and teach several new things.

The topics discussed here include preventing spam, typecasting variables, preventing cross-site scripting (XSS) and SQL injection attacks, using the Filter extension, validating uploaded files by type, and managing passwords in PHP. This chapter ...

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