Mal's Web Madness

A basic tutorial on building websites with PHP


Introduction
The Web Page Files
Let's Start
Making It Work
Making More Pages
Making Links
Making Things Sexy

How to make it work

1. FTP your webfolder to your website.
2. Check that the permissions for your new files allow everyone to read and execute
3. Point your browser to http://www.yourdomain.com/webfolder/index.php

a. You should see the most boring webpage in the whole wide world, saying Hello World
b. If you have a look at the source, you will see the following standard HTML, with no PHP code:

<HTML>
<HEAD>
<TITLE>
This is my Page Title
</TITLE>
</HEAD>
<BODY>
<P>Hello World</P>
</BODY>
</HTML>

There is no PHP code because the PHP has done it's job, it has created your webpage for you!

Where to from here?

Let's make some more web pages!