The best thing that you can do in this situation is what someone else suggested, by making on variable and setting it to the page you want it to go to...
file.php?page=main
rather than your idea of
file.php?main
The first is much more efficient because you are only setting aside space for one variable in memory and giving that variable a different value. If you just pass ?MAIN or ?NAV you are setting aside space for extra variables that the program will never use for data, just to check the existance. Unless you plan to unallocate the memory after you unload the script, just declare one variable and give it a value.
My site is run almost the same way, I have one file, main.php, and it passes different values to display different pages, like..
main.php?p=news will display news
main.php?p=pics will display pictures
And so on.
-Sam