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

PHP is known as a server-side programming language. This means that it runs on the Web server. Most Web programming languages are server-side, but some, such as JavaScript, are client-side, which means they run on the Web browser.

Server-side languages give you more flexibility as they can do many things that are hard to do with JavaScript — for example, working with files and databases, or manipulating images. That said, JavaScript is coming along in leaps and bounds these days .

Server-side code is also potentially more secure than JavaScript code. Since JavaScript code is sent to the Web browser it’s easy for a visitor to view and edit the code. Server-side code, on the other hand, remains on the Web server and isn’t accessible to visitors to the site.

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.


About Dinesh

I am engineering student........ I am selected in Microsoft Student Partner as MSP............

Posted on October 20, 2010, in Knowledge, PHP. Bookmark the permalink. 1 Comment.

  1. Best Software Downloads and Reviews. the most comprehensive source for free-to-
    trysoftware downloads on the WebBEST 4

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: