Category: PHP 2018 Really enjoy writing SQL Mar 09 2018 2016 stop writing your own strip tags May 02 2016 Everyone ALWAYS has JavaScript enabled right? Apr 08 2016 Shortcuts Are Bad Apr 08 2016 2013 No Way That's Real Aug 27 2013 Artisan Level Code Trolling Aug 19 2013 I Am Repeating Myself Aug 05 2013 DateTime What? Jul 17 2013 Senior dev invites application destruction May 27 2013 date.timezone WTF? May 20 2013 2012 Interview Coding Disasters -- FizzBuzz (+ TDD) Edition Oct 19 2012 Words escape me Oct 12 2012 Too few DEFINEs for my taste Sep 28 2012 What idiot wrote this? Oh, wait, it was me. Sep 21 2012 Stop rolling your own Sep 14 2012 We don't need no stinkin' POST variables Sep 07 2012 I do not think DRY means what you think it means Aug 31 2012 Concatenation is not a parser error Feb 23 2012 Encrypt passwords for highest level of security Feb 16 2012 The Interview Feb 09 2012 For your consideration Feb 03 2012 Cover all the bases Jan 27 2012 No register_globals, no problem Jan 20 2012 Who needs regular expressions? Jan 11 2012 Templating gone horribly wrong Jan 06 2012 2011 I'm not sure I can think of a worse way to do this Oct 03 2011 The cure is worse than the disease Sep 30 2011 style.css.php Sep 19 2011 God help the dev I catch doing this Sep 16 2011 Not confusing enough Sep 09 2011 No, let's get ALL the content at the same time! Sep 07 2011 Go ahead. Maintain this one. I dare you. Sep 06 2011 Typical Aug 31 2011 I think I'm going to be ill . . . Aug 29 2011 Exception (mis)handling Aug 26 2011 doBuildEditTableList Aug 24 2011 Designed to be called in the middle of an SQL query Aug 19 2011 More fun with database input filtering Aug 17 2011 Unleashing the power of the boolean Aug 15 2011 I do not think this function does what you think it does Aug 12 2011 Database abstraction at not its finest Aug 10 2011 Constants? We don't need no stinking constants! Aug 08 2011 Your admin password is editsally Aug 05 2011 If the method is named getOne, why the foreach? Aug 03 2011 Why? In the name of all that is good and decent, why? Aug 01 2011 All the cool kids are using switch statements Jul 29 2011 Overdoing it Jul 27 2011 Maslow's hammer Jul 25 2011 Queries inside queries Jul 22 2011 Query builder Jul 20 2011 Stop doing it wrong and learn to code good too Jul 19 2011 I beg to differ Jul 18 2011 Validating input against XSS Jul 13 2011 doPostEval() Jul 11 2011 findexts Jul 08 2011 Oh. That's where the mail function is called. Jul 07 2011 Pure evil Jul 07 2011 How not to set a variable Jul 06 2011 Really? preg_replace()? Jul 06 2011 Not OK Jul 05 2011 eval() hell Jul 05 2011