|
|
|
|
|
by ceejayoz
5058 days ago
|
|
C'mon. Their "PHP MySQL Insert Into" tutorial (http://w3schools.com/php/php_mysql_insert.asp) uses direct $_POST data with no escaping. No mention of security is made in the entire "PHP Database" section. These tutorials need a massive red flashing warning saying "we've left critical stuff out, you will get your site defaced if you code like this". Newbies don't need to be expected to know good code. That's no excuse for presenting actively dangerous examples to them with no warning. |
|
Now, I would be all for W3Schools making their disclaimer more noticeable. It is there, though.