Top 21 PHP Programming Mistakes - Part 2: Seven Serious Mistakes
In this second part of the series, it describes 7 common mistakes in PHP programming that will lead to drastically slower run times and less secure scripts, in addition to less maintainable code. Topics covered: Not Following Basic Naming Conventions (Variable Naming, Function Naming), Databases & SQL (Misapplying database functions, Misusing SQL: Not Fetching What You Need, Misusing SQL: Not Fetching What You Need), Lack of Error Checking, Overusing OO, Misusing Regular Expressions, Programming PHP Like It Was Some Other Language, and Not Being Security Conscious (System Call Security, Checking an e-mail address).
Views: 800 | | by Daniel
View this tutorial