<?php
switch($page) {
default:
include('news.php');
break; case "tutorials":
include('tutorials.php');
break; case "resources":
include('resources.php');
break; case "contact":
include('contact.php');
break; case "apply":
include('addsite.php');
break; case "tuts":
include('tuts.php');
break; case "affview":
include('affviewall.php');
break; case "home":
include('news.php');
break; case "applyaff":
include('aff/index.php');
break; case "viewall":
include('affviewall.php');
break; case "brushes":
include ('brushes.php');
break; case "graphics":
include ('graphics.php');
break; case "renders":
include ('renders.php');
}
?>
Thats my code and as you can see its long
Its been working for a while until acouple of days ago.. and now it doesnt work
i link like so:
?page=PAGE
http://darkpixels.net/?page=contact < WOULD NOT WORK
http://darkpixels.net/contact.php < WORKS
Why?
