Core PHP developer on security. Covers both PHP 4 & 5.
From table of contents
# Input validation
# Cross-site Scripting Prevention
# SQL Injections
# Code Injections
# Command Injections
# Session Securitiy
# Securing File Access
# Security Through Obscurity
# Sandboxes and Tar Pits
# Securing Your Applications