it works when my href=www.server.com/index.php?Name=main
but will it work for me to change directories with it?
IE: <A href="index.php?Name=/deepDir/when">asdf</a>
obviously, I can't get it to. Any suggestions?
Code: Select all
<html>
<body bgcolor=white>
<center>
<?
include "navigation.inc";
if (isset($Name))
{
$name2 = $_GETї'Name'];
$destination = $name2.".html";
include $destination;
}else
{
$destination = "main.html";
include $destination;
}
?>
</centeR>
</body>
</html>