If you have hosted your website on a server that is not in the same time zone as you live. In the old days of PHP3 & PHP4, we would write a time_offset function or something like that to roll back or add the necessary hours to get the time correct for your own use…
PHP is a loosely typed language, i.e. you have to write less and can do/code whatever you want (structured programming) 🙂 PHP is used for quick web development, It’s library is very rich. We can’t say that it is a good point or poor one, that PHP doesn’t required initialization of variables,but it is a bad…
PDO : PHP Data Object PDO is an acronym for PHP Data Objects. It is a database access layer providing a uniform method of access to multiple databases. Use of PDO : Let a suppose you need to connect your database to Oracle or IBM DB2 in your existing code(written in MySQL/PHP) or if you…
The HTML DOM views an HTML document as a tree-structure. The tree structure that is defined known as a node-tree.All nodes can be accessed through the tree. Their contents can be modified or deleted, and new elements can be created. Programming InterfaceIn the DOM, HTML documents consist of a set of node objects. The…
The directory/folder password protection or authentication systems offered by the Apache Web Server are probably the most important use of .htaccess file.We can easily make a directory password protected (or multiple directory) of a website which require a username and password to access.Password are also encrypted using one of the best encryption methods available which…
Apache Server Configuration File Apache has a great number of directives which you can set and manipulate in order to set your server’s behavior. Every server administrator will often update some of the directives, it all depends on their particular needs. Every person working with the Apache server is likely to encounter these directives.…