Best Citizenships
PHP Scripts

Fixing set_magic_quotes_runtime deprecated in PHP

To fix the deprecated warning causing by PHP 5.3, all you have to do is replace the with I have…

Fix – Deprecated: Assigning the return value of new by reference is deprecated in PHP5.3

i recently updated to latest PHP 5 from PHP 4 and my wordpress blog was littered with these errors. I…

Auto generate invoices from csv files with PHP

Tax season again, and i had to submit all invoices to file taxes. I always wanted a way to automatically…

PHP – check ssl and redirect to https secure page

If you have a non https form and you if you want to force to use SSL (https), it can…

Interview with Balakrishnan who blogs at corpocrat.com

As a owner of Corpocrat.com, I was recently interviewed by SelfBlogger.com and i was really proud to share my struggles…

Mysql Query – Use brackets for multiple conditions!

Often you might be in situations where you want to query your mysql database with multiple AND and OR statements…

10+ Best Social Network Scripts in PHP

i have been searching for a while for  instant turnkey php scripts  to start my own social network site. I…

25+ Very Useful PHP Class libraries for Developers

I am gonna post here some the very useful php libraries and classes which will come so handy during coding….

How to import text data in mysql with spaces?

Lets say you have to import a large text file to mysql and fields are totally irregular but only separated…

How to use LOAD DATA INFILE to import fixed width data in MySQL

It is very easy to import fixed width CSV data into your mysql database and LOAD DATA INFILE is the…