admininstration section

varvanin

New Member
I'm building my first web application(i mean first huge web application)using php but i have some questions about admin section.what are the ways for making admin i mean i thought i could make it this way:First make an array:\[code\]$pages = array('post' => 'posts.php', 'category' => 'categories.php');\[/code\]And then read get var check if it's in array:\[code\]if($pages[$_GET['location']]) include "$pages[$_GET[location]]";\[/code\]is this a good way?are there any other ways?and i was about to forget this one what are admin page html tags and headers?thank you.
 
Back
Top