, 2007-01-08
PHP has become the most popular application language on the web, but common security mistakes by developers are giving PHP a bad name. Here's how PHP coding errors have become the new low-hanging fruit for attackers, contributing to the phishing problems on the web.
Expand all |
Post comment

If that ability is really needed, then why not add 'remote_include' and 'remote_require'. That way the programmer can express that he really means it. Also why does the PHP help page on include (http://de3.php.net/manual/en/function.include.php) not contain a warning about the very popular include($_GET['path']); with a very clear text about why it is unsecure and how to do it properly.
To continue on your example: if a gun regularily harms its user, will the manufacturer not make sure it doesn't happen again?
[ reply ]
Link to this comment: http://www.securityfocus.com/comments/columns/427/34257#34257