View Single Post
Old 03-22-2010, 04:31 PM   #1 (permalink)
ricarubio
The Visitor
Newcomer 
 
Join Date: Mar 2010
Posts: 1
Thanks: 0
ricarubio is on a distinguished road
Default Log-in with access type

Hi can someone help me with this problem.

I have two username and password with an additional field called access level.
For the sake of this explanation lets call them:
admin - abc password - page1.php and page2.php
guest- xyz password - page2.php

I have a page called 'index.php' wherein i will input my username and password. I also have a 'page1.php' and 'page2.php'I want the admin to access 'page1.php' and 'page2.php'.. While the guest can only access the 'page2.php'.
ricarubio is offline  
Reply With Quote