How to Set Time Zone in PHP and MySQL

Sometimes when working with PHP-MySQL application, we have to explicitly set the time zone in our application in order to match the client's time zone. Since PHP 5.3, time zone setting is mandatory and have to be set explicitly in application or in PHP configuration file (php.ini, for global used) … [Read more...]

How To Define Global Absolute Path in PHP

A path is general form of a filename or directory that specified a unique location in a file system. In web programming, a path  is used to define links (url) to documents and images or to include a specified library file. There are two standard ways to define a path: Absolute Path, is a path … [Read more...]