1. Unvalidated Parameters
Most importantly, turn off register_globals. This configuration setting defaults to off in PHP 4.2.0 and later. Access values from URLs, forms, and cookies through the superglobal arrays $_GET, $_POST, and $_COOKIE.
Before you use values from the superglobal arrays, validate them to make sure they don’t contain unexpected input. If you know what type [...]
Archive for August, 2008
Top Ten Security Vulnerabilities in PHP Code !
Posted in Open source, Web, php - mysql, php news on August 6, 2008 | Leave a Comment »