News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NETTUTS.com:
Are You Making These 10 PHP Mistakes?
February 04, 2009 @ 09:33:51

All of you developers out there, NETTUTS.com has a question for you - are you making any of these ten PHP mistakes in your day to day development? Which ones, you ask? Read on...

Here are 10 PHP mistakes that any programmer, regardless of skill level, might make at any given time. Some of the mistakes are very basic, but trip up even the best PHP programmer. Other mistakes are hard to spot (even with strict error reporting). But all of these mistakes have one thing in common: They're easy to avoid.

Here's the list (as Glen Stanberry sees it):

  • Single quotes, double quotes
  • Semicolon after a While
  • NOT Using database caching
  • Missing Semicolon After a Break or a Continue
  • Not Using E_ALL Reporting
  • Not Setting Time Limits On PHP Scripts
  • Not Protecting Session ID's
  • Not Validating Cookie Data
  • Not Escaping Entities
  • Using Wrong Comparison Operators
0 comments voice your opinion now!
mistakes list common quotes semicolon error session cookie escape


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: The ZendCon Sessions Episode 4: IBM DB2 with PHP 5.2 and AJAX

International PHP Magazine: Which of the Following Ensures Smooth Implementation of PHP Sessions?

PHPKitchen: Using Wordpress

APress' Inside Open Source Blog: Namespaces in PHP 6

Scarletlullaby.com: Refactoring to Rails (MVC) in PHP


Community Events





Don't see your event here?
Let us know!


library series symfony interview tips language list framework bugfix install opinion introduction laravel community package deployment podcast release api voicesoftheelephpant

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework