Reply to Re: menus in php

Your name:

Reply:


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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация