Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> PHP
Author Message
Donovan
Client



Joined: Oct 07, 2003
Posts: 735
Location: Ohio

PostPosted: Wed Aug 08, 2007 5:37 pm Reply with quote

How could I code this if I had three kinds of authentication.

Example.

Students

Professors

Admins

Students login and take a test, review their answers, etc.

Professors login and are allowed to create exams, add questions to the exam, grade exams, ect.

Admins login and can do anything.

I'm thinking of a tree menu on the left side in a frame. Maybe three different tree menus based on what level of authentication.
 
View user's profile Send private message Visit poster's website ICQ Number
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Wed Aug 08, 2007 5:59 pm Reply with quote

You could store in a session variable what "type" of user the person logged in as and check that in your scripts to determine what the person could or could not do. Kind of like groups in Nuke.

_________________
GCalendar - An Event Calendar for PHP-Nuke
Member_Map - A Google Maps Nuke Module 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> PHP

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©