PHP

From CSWiki

Jump to: navigation, search

[edit] Introduction

PHP (recursive acronym for "PHP: Hypertext Preprocessor") is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

A Simple Tutorial

A Simple Example

<html>
   <head>
       <title>Example</title>
   </head>
   <body>

       <?php
       echo "Hi, I'm a PHP script!";
       ?>

   </body>
</html>

[edit] Prerequisites

  • Windows, Unix, Mac OS
  • Webserver such as Apache, Microsoft IIS, Solaris, Debian, OmniHTTPd to name a few
  • MDAC, ifyou use Microsoft Windows 98/NT4

[edit] PHP main page

Personal tools