Last December, I wrote a simple and easy to use PHP MySQLi wrapper class inspired from the simplicity of Code Igniter Active Record pattern and hosted on BitBucket. Over an year, I’ve been using this class and continuously improving it based on my requirements and other users requests. Over a dozen of bug fixes and…Continue reading PHP MySQLi Wrapper Class Update
Yesterday, December 8th, 2014 I took the Zend Certification exam and passed. The latest version of the Zend exam is based on PHP version 5.5. They have updated their syllabus to reflect this change. And also, Zend made their official study materiel available to buy from their website for $19.95. It was available free of…Continue reading Passing Zend Certification Exam, Here is the tip!
This is a simple php function for hashing a plain text password so that it can be saved into the database securely. [gist id=”33fb2eb19d3517057b10″]
I was very much interested in the database class of CodeIgniter, especially the Active Records. I was quite satisfied with an old mysql wrapper that I have been using for long time. But I’ve decided to start using MySQLi for all my future projects so started to write my own database wrapper for php. php.net…Continue reading MySQLi Wrapper for PHP
This is a php code snippet that I wrote for a website. Thought it might be useful for some one else as I was unable to find any API to check whether the given email address is a free one or not. There are thousands of websites provide free email address like Yahoo or Gmail.…Continue reading Free-Email Lookup PHP Script
I am not quite sure PHP has inbuilt function for this requirement. While I was coding script for PayPal integration, I had to notify PayPal for IPN url for acknowledging the payment. The IPN script was located elsewhere, ie, on another directory, so I used a custom function to get the current URL path and…Continue reading PHP Get The Current URL Path
My Blog has received around 900 page views for the last 7 days! Today I noticed that my blog is loading slow when I tried to post an article and upload some images. The blog was on a cPanel VPS. As you may already know, cPanel is a resource hog and hosting WordPress on a…Continue reading Just Moved My Blog To A Separate VPS Powered By Nginx Web Server