Get the Whitepaper called Protecting PHP Application From Hacking. Part 2 of 2.
You can download it from the following link: https://packetstormsecurity.com/files/download/88229/Protecting_PHP_applications_from_hacking_2.pdf
Source: https://packetstormsecurity.com/files/88229/Protecting-PHP-Applications-From-Hacking-Part-2.html

