Hello,
I am working on a new site and I am having a problem with using clean urls...
http://pennyspder.com/index.php/about
works on my test server but when I upload it to my live server it doesnt work...
here is the code I use
//get the url and include appropriate page
$url = explode("/",$_SERVER['PATH_INFO']);
switch($url[3]) {
case NULL;
$include = "pages/home.php";
$pageHeight = 635;
break;
case "about";
$include = "pages/aboutUs.php";
$pageHeight = 1190;
break;
}
The website can be located at http://www.pennyspder.com
I have the page in the top of my index page.. If anyone could help I would really appreciate it.. Thanks.