Posted by larry on 06/22/06 03:39
If you want to hide your file names then don't use them in your menus,
instead have the menus seind some data to aredirector script, which
translates the data into a header to the proper script.
I.e. In your menu:
<a href="mymenu.php?menu=maillist">Mailing List</a>
Then in the mymenu.php file
(after you clean $_GET['menu'] and return to $menu...)
switch( $menu ){
case "maillist":
header("Location: users/maillist.php");
exit();
break;
case... etc.
default:
//bad entry return back to menu display script
}
You could proabbly do it with an array in an include to make the menu
easier to work with.
Navigation:
[Reply to this message]
|