A file with .php extension refers to open source programming language, used to write server side scripts, to be executed on a web server. It is the most widely used web-scripting language that is typically used for development of large-scale web applications. The biggest blogging system on the web i.e. WordPress and the largest social network Facebook are based on PHP language. It is compatible with various platforms such as Windows, Linux, Unix, Mac OS X, etc. Also it successfully runs on almost all servers used today i.e. Apache, IIS, etc. PHP supports wide range of databases including MySQL.
PHP File Format
A PHP script is executed on the server, and the plain HTML result is sent back to the browser. A PHP script starts with