Have you even seen a pager where its has index.php?id= ? wel; in this tutorial i will show you how to make it so instead of typing in somesite.com/somepage.html into somesite.com/index.php?id=2 so it can be more secure if its a page yo dont want them to know the adress for
Now enough about the infromation your going like WTF about heres the tutorial
The Code
i will explain it after
1. Create a new PHP file and call it index.php
no inside that inject this inbetween the Doctype and html paremeters
<?php
switch($id) {
default:
include('index.html');
break; case "2":
include('games.html');
break; case "3":
include('support.htmll');
break; case "4":
include('contact.html');
break; case "5":
include('page.html');
break; case "6":
include('page.html');
break; case "7":
include('page.html');
break; case "8":
include('page.html');
}
?>
The Explaination
switch($id) {
default:
include('index.html'); Meants that when index.php first loads this is the file that it will load and if you ever want to link back to it its id is 1
break; case "2":
include('games.html'); id=2 loads games.html
... and so on and so on
Linking
Now to link to those pages add this to its link
index.php?id=X
Replacing X with id number or Letter