PHP (hypertext processor) is a programming language used to build websites. It acts as a
wrapper or application program interface (API) for web servers. It enables web servers to
interact with each other on the Internet or intranet (LAN). A PHP engine in the web server reads
the PHP program and figures out what to do.
PHP works across all web server platforms, Windows, Mac OS X, Linux and Unix. It was
created for generating web pages. It can format HTML documents, manipulate time stamps and
manage web cookies.
Like most programming languages a PHP program has start "<?php" and end "?>"
tags. Text
before and after these tags are ignored by the PHP engine. Between these tags you can have five
basic statements, a declaration, two conditional statements and two loop statements.
|