PHP Tutorials

What Is PHP?

PHP stands for Hypertext Preprocessor and is a powerful server-side language that allows you to create dynamic and interactive websites.

The main benefits of PHP is that it is free compared to rival products such as Microsoft ASP.

PHP code or scripts are ran on your web server but not in the client browser. You can easily install and configure it to work locally on your windows machine.

What Do I Need?

To use PHP on your local machine you need to download and install IIS.
A prerequisite to this course is that you have completed the courses "Setting Up IIS on Windows under the Microsoft Curriculum" and the course "Setting Up and Configuring PHP".

These courses show you how to install IIS and PHP, you also get to create your first php script and execute it locally.

Writing PHP

PHP is a very simple scripting language, once you have setup and configured PHP its very simple to create a program.

To create php scripts you don't need any special software, except for a text editor (like Notepad in Windows). So lets create a simple php script.

- First Launch Notepad

Next we need to declare our page a PHP page,
PHP scripts are always enclosed in between two PHP tags. This tells your server to parse the information between them as PHP.

Example

<?php
	Enter our PHP Code In Here
?>

php tutorial Introduction part two