Simple User Access Control with CodeIgniter framework Code (ACL) Library
- by Hafiz Arslan Akbar
Friends,
I am new User of PHP n CodeIgniter. I just want do a simple task, user access control.
there are 5 different user in a class,,
I have to write a code which gives just one line output for one user.
for example,,
by using ACL library,
just pick one out put. deal with basic level...
Manager , Teacher , Student , Chairperson
PHP page contain one text box and button.
by using ACL library we just put one code or string in textbox and get related output...
some thing like this...
text box contain 1,
Now Manager access Control,,
text box contain 2,
Now Teacher Access Control,,
text box contain 3,
Chairperson access control..
Plz guide step by step.
Thanx in advance dear.......