Chapter 14

PHP Security

PHP is a very popular web development language. Despite the rise of Python, Ruby, and other languages, PHP is still the favorite of many developers, especially in China.

The high flexibility of the PHP syntax brings some security problems. Security has always been a problem throughout PHP’s history.

When the PHP language was developed, the vulnerability of the Internet was not as obvious as it is now, and many security problems known today were not found at that time, so the developers of the original PHP language did not think much about safety. Today, security issues that PHP accumulated over the years are still present, and PHP developers and the entire PHP community would like to do something about this.

In this chapter, ...

Get Web Security 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.