How to figure out whether PHP extension is loaded or not on your page?   Usually in phpinfo() doesn’t show you all the loaded extensions in one location, it has got a separate section for each loaded extension where it shows all of its variables, file paths, etc so if there is no section for…

PHP: Backup Your Website’s MySQL Database   It is always good to backup your MySQL database regularly. You should also create a backup before making any major changes, in case something goes wrong and you need to revert to the unmodified version, then you will found yourself in safe hand. Database backups can also be…

JSON (JavaScript Object Notation) is a text-based, light-weighted, language-independent data interchange format. It was derived from the ECMAScript Programming Language Standard. JSON follows a small set of formatting rules for the portable representation of structured data. It is easy for humans to read and write and easy for machines to parse and generate. These properties… (1 comment)

PHP: Object Oriented Programming (OOP) php objects   A class is a ‘blueprint’ for an object, just like a function that you’d declare and use, a class merely describes a type of object. Before you can do useful logical work with it, you need to create an object (in pure OOP terms instance of a…

Difference between Abstract class and Interface PHP   An abstract class is a class that provides some functionality and leaves the remaining functionality for its child class to implement. The child class must provide the functionality not provided by the abstract class (parent) or else the child class also becomes abstract.   To define a…

A Quick view on difference between PHP4 and PHP5 PHP5 has improvements in design, security, and stability as compared to PHP4, there are so many features of OOP added in PHP5 to make it more powerful and useful. If you want more details just go to http://www.php.net and find changes in php.   Object Model/Passed…