What is PHP………..
PHP stands for PHP: Hypertext Preprocessor, with that PHP standing for Personal HomePage [Tools]. This type of acronym is known as a retronym. Originally, in 1994, the language was designed as a small set of binaries used to collect some basic site traffic data. In 1997 the parser was rewritten by two Israelis and the name was changed to the current acronym — it being determined that hypertext preprocessor was a decidedly more acceptable name in the business world.
PHP can also send HTTP headers. You can set cookies, manage authentication, and redirect users. It offers excellent connectivity to many databases (and ODBC), and integration with various external libraries that let you do everything from generating PDF documents to parsing XML.
The PHP engine — that is, the code that sits on the Web server and runs PHP scripts — is open source, which means anyone can access and work on the engine’s source code. This helps to ensure that PHP will be around for a long time to come.
PHP is free to download and use, which is one reason why it is so popular among Web hosting companies. You’ll find that the vast majority of Web hosting accounts support PHP.
PHP is a server-side language
You can mix PHP code with HTML code
One nice feature of PHP is that you can insert chunks of PHP code into an HTML page. You surround the PHP chunks with special symbols. When the Web server retrieves the page, any PHP chunks are run by the PHP engine, while the other parts of the page are sent as they are to the browser.
This feature makes it easy to add interactivity to otherwise plain Web pages — great for contact forms and the like.
Uses of PHP
You can use PHP to write practically any type of Web application or script. Common PHP applications include:
- Blogging software such as WordPress
- E-commerce systems like Magento
- Content management systems including Drupal and Joomla!, and
- Forum software such as phpBB.
In addition, many popular websites, including Yahoo!, Wikipedia, Facebook, and Digg, use PHP code extensively.
SHARE THE KNOWLEDGE