Install Apache on Ubuntu
Apache has been a go to for PHP development as it is one of the LAMP stack devfinitions. A is for Apache
Continue reading Install Apache on Ubuntu
What every PHP developer should know
This would be an interesting article if you're a PHP developer. More so if you are applying for a PHP job or hiring someone for a PHP developer position.
I just read an interesting question regarding what every PHP developer should know.
Continue reading What every PHP developer should know
Write INI files with PHP
INI files are particularly helpful for small configurations. The Zend framework intensively uses INI files (from their beginners guide). You can use parse_ini_fileto read the configuration listed in there. However, what if we wanted to modify the INI files?
Continue reading Write INI files with PHP
Multiple Applications with Codeigniter with one installation
Upgrading is never easy, you have to check for all deprecated functions. And although, CodeIgniter makes it very easy, it's probably going to be hard once you have tons of applications to upgrade.
Continue reading Multiple Applications with Codeigniter with one installation
List dates between specified dates
I recently had the need to list dates between specified dates for an application. I created a function for doing some sort of date lister. I just wanted to share it.
Continue reading List dates between specified dates
UserCake : Simple User Management System

User Management is a commonly seen in most web applications today. That's why it's important for any web application to have a pretty secure scalable user management system.
Welcome, UserCake (not to be affiliated with the PHP Framework CakePHP). It acts as a baseline for you user management needs.
Continue reading UserCake : Simple User Management System
CodeIgniter Image Manipulation Class: How to Resize

The CodeIgniter Image Manipulation Class is a useful tool when implementing simple resize, cropping, rotate, watermarking and flipping of images are required in your project.
Here is a series of code templates for using the CodeIgniter Image Manipulation Class:
First one is resizing:
Continue reading CodeIgniter Image Manipulation Class: How to Resize
The Right Way to Get a File Extension in PHP
I made a recent search on retrieving file extensions in PHP.
I found out that a lot have been re-inventing the wheel. They have been creating code for functionality that PHP already has. This is one example of re-inventing the wheel
function get_file_extension($file_name)
{
return substr(strrchr($file_name,'.'),1);
}
Another example was this:
function file_extension($filename)
{
return end(explode(".", $filename));
}
PHP already has a function that does the same thing and more.
Continue reading The Right Way to Get a File Extension in PHP