943,175 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 184
  • PHP RSS
Sep 2nd, 2010
0

How to hide menu

Expand Post »
Hi,

I was having only one admin in my system.Now I want to add one more,where the new one is having lesser privileges.For that I want to hide some menus from him where he is not aware about that linking pages.

Is there anyone who can help me to do this...Reply is appreciated greatly.
Last edited by sami.asanga; Sep 2nd, 2010 at 11:34 pm.
Similar Threads
Reputation Points: 10
Solved Threads: 1
Light Poster
sami.asanga is offline Offline
35 posts
since Aug 2010
Sep 3rd, 2010
0
Re: How to hide menu
1) You can have one table for all admin module's php pages name.
2) second table is for which admin have which php page's rights.
3) when any admin login then on top of page insert one common file, which will check take current php page's name and check in database whether that admin have permission or not.If admin have not permission then throw permission error.
4)In menu module names will be listed from database.
Reputation Points: 154
Solved Threads: 162
Master Poster
vibhadevit is offline Offline
791 posts
since Apr 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Need wordpress tutorial
Next Thread in PHP Forum Timeline: Question about a php urls





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC