You are here: >

PHP

PHP logoCreated by Rasmus Lerdorf in 1994 and publicly released June 8, 1995, PHP, which is short for PHP: Hypertext Preprocessor, is a server-side interpreted scripting language. It was designed for creating dynamic web pages and web pages that effectively work with databases. Below are two examples of how you'd print "Hello World" using PHP in a .php file.

<? print("Hello World!") ?>
<? echo 'Hello world'; ?>

Files that include PHP code on a web server may have any file extension; however, commonly end in .PHP, .PHP3, or .PHTML.

Also see: ASP, CGI, Perl, PEAR, Programming terms, Server side scripting