Category Archives: PHP

All posts related to PHP

Honeypot Technique: Fast, Easy Spam Prevention

Spam is one of those things we wish didn’t exist.  It’s annoying and serves no useful purpose.  Mail inboxes filled with junk mail, websites with bogus contact form submissions, and products hit hard by fake sign ups are only a … Continue reading

Posted in General, PHP | 38 Comments

7 Best Practices For LAMP Projects

At Solution Factor we’ve encountered all kinds of code.  In times when we’ve inherited code from other teams we always take time to note how it’s been developed, style and structure, use of frameworks (or lack there of), the good … Continue reading

Posted in General, Performance, PHP | Leave a comment

Ubuntu 10.10: Installing XDebug and KCacheGrind with PHP 5

After doing a fresh Ubuntu 10.10 install I spent some time re-installing some much relied on dev tools, 2 of which are XDebug and KCacheGrind. Their purpose is to add enhanced debugging and profiling capabilities to any dev environment. If … Continue reading

Posted in Performance, PHP | 2 Comments

PHPUnit in Kohana 2.3.4

I wanted to add unit test support to a current Kohana 2.3.4 project I’m working on.  Unfortunately, most of the posts I found on how to integrate unit testing into Kohana were for version 3.x, not 2.3.x.  The few hits … Continue reading

Posted in PHP | 15 Comments