I'm learning php and my dad told me to make somthing where you login and if the person has a certain permission can see somthing diffrent then a diffrent user how would i go about this?
huntaz556 0 Newbie Poster
Recommended Answers
Jump to Postsetup a database
create user structure / permission levels
use sessions for php login page
have user enter info then when he hits submit
check the database for user and if password is correct
then check permissions table to see available permissions
then send the user to another page or …
Jump to PostAs H44th states - you need to set a permission for each user. Are you up to speed on DB relational models?
All 7 Replies
HITMANOF44th 4 Posting Whiz in Training
huntaz556 0 Newbie Poster
huntaz556 0 Newbie Poster
HITMANOF44th 4 Posting Whiz in Training
huntaz556 0 Newbie Poster
HITMANOF44th 4 Posting Whiz in Training

diafol
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.