If you ever wondered why the hell PHP is so popular on the web when there are better and powerful languages available? Well, the answer is very simple, It is only language that allows even musicians to build sites for themselves. By the way that is also the reason why WordPress has become the king […]
Tag Archives: php
How To Catch PHP Fatal Error In CodeIgniter
My last few blog post’s are result of the project that I am currently working on, and this blog is also in that series. We needed to catch PHP Fatal Errors in the production environment and notify about it to developers, also at the same time, showing our beautiful fail whale page to user instead […]
Where is MySQL Gone Away?
Last Sunday I got to work on a very interesting problem in WordPress which I initially thought could be solved in like 5 mins, but alas it took me almost 7 hours before I found and fixed the problem. Let me describe the problem, I was running a simple xml parsing script whose task was […]
How to create multicolor text image on the fly
This tutorial explains how we can create dynamic images with multicolor text in PHP. We will need GD library and FreeType library to be enabled for this functionality to work. I have assumed that you already know PHP, and understand how to use it. Check the example below to see what we want to create. […]
New Zealand Daylight Savings Time (DST) has changed
just wanted to post a quick note about this, originally it was supposed to finish on 16th march but it has being extended to 3rd April. if your php script is giving you one hour late time then here is the solution just update your timezone database from http://pecl.php.net/package/timezonedb you might need to compile it […]
Enterprise PHP
I will not say anything but let Ivo Jansch speak for us in this slide show.