PHP

Updated: 10/17/2017 by Computer Hope

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, but most commonly they end in .PHP, .PHP3, or .PHTML.

A PHP file can be created and the contents can be viewed by using a programming code editing program, such as Dreamweaver or Notepad++.

ASP, CGI, Perl, PEAR, Programming terms, Server side scripting, Web design terms