Page is a not externally linkable
w9914420 - 8:54 am on Jun 28, 2009 (gmt 0)
<?php ?> I can target all the other folders in my root, but in php how would i specify the server to target that index.php file on root level, i have tried various other methods but no joy regards w9914420
I simply want to target the index.php on my server which is located in the root I have created the following php script
$folder = "";
if(stristr($_SERVER['REQUEST_URI'], "index.php"))
$folder = "home";
if(stristr($_SERVER['REQUEST_URI'], "/approach/"))
$folder = "approach";
if(stristr($_SERVER['REQUEST_URI'], "/services/"))
$folder = "services";
if(stristr($_SERVER['REQUEST_URI'], "/projects/"))
$folder = "projects";
if(stristr($_SERVER['REQUEST_URI'], "/contact/"))
$folder = "contact";