bad-advice

Worst PHP advice ever

Posted in apache, bad-advice, php on March 10th, 2010 by fseek – Be the first to comment

Last night I was browsing some books at the bookstore and glanced over at the following advice on a PHP+Flash book:

“To improve performance disable Apache access and error logging.

 
A bit after, another performance suggestion:

“To improve performance, minimize the ammount of error handling routines“.

Seriously? Are they kidding me? What’s next? Do not sanitize user input to improve performance?Unfortunately I can’t remember the book name, since I threw it far away and ran back home.

*have you read this book? Remember the name? If I can’t figure it out soon, I will go to the bookstore today again just to put them on shame ;)