Top: Computers: Programming: Languages: PHP

Pages



PHP Hypertext Preprocessor is a server-side language to develop dynamic web pages. The syntax and the built-in functions are similar to C++ language ones.


History

PHP was born in 1994, written by Rasmus Lerdorf. Early non-released versions were used on his home page to keep track of who was looking at his online resume. The first version used by others was available sometime in early 1995 and was known as the "Personal Home Page Tools". It consisted of a very simplistic parser engine that only understood a few special macros and a number of utilities that were in common use on home pages back then including a guestbook and counter.

The parser was rewritten in 1995 and named PHP/FI Version 2. The FI came from another package Rasmus had written which interpreted html form data. He combined the Personal Home Page tools scripts with the Form Interpreter and added mSQL support and PHP/FI was born. PHP/FI grew at an amazing pace and people started contributing code to it.

The parser was rewritten from scratch by Zeev Suraski and Andi Gutmans and this new parser formed the basis for PHP Version 3. A lot of the utility code from PHP/FI was ported over to PHP 3 and a lot of it was completely rewritten.

The latest version (PHP 4) uses the Zend Scripting Engine version 1.0 to accelerate scripts execution, supports a lot of third-party libraries and extensions, and can be run as a native server module with all of the popular web servers.


What It Can Do

PHP is a server-side language and the main alternative to ASP. PHP is open-source and as a result many PHP scripts are distributed as freeware which has led to it becoming the most widely used server-side language.

With PHP you are not limited to outputting HTML. PHP's abilities include outputting images, PDF files, and even Flash movies (using libswf and Ming) generated on the fly. You can also output any text, such as XHTML and any other XML file. PHP can automatically generate these files, and save them in the file system, instead of printing it out, forming a server-side cache for dynamic content.

One of the strongest and most significant features in PHP is its support for a wide range of databases, such as MySQL, PgSQL, FilePro, ODBC, mSQL and many others.


Official Website

http://www.php.net


based

1. The official web-site - http://www.php.net



 All text is available under the terms of the GNU Free Documentation License. (See Copyright Policy for details.) 
© Open-Site Foundation, Inc.
Hosted by Android Technologies, Inc. the medical robotics news source.
Visit our sister sites dmoz.org | mozilla.org | chefmoz.org | musicmoz.org