PHP

Updated: 03/06/2020 by Computer Hope
PHP logo

Created by Rasmus Lerdorf in 1994 and publicly released on 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 using a source code editor, such as Dreamweaver or Notepad++.

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