Hi,
I need a little help on something. I
'm trying to write a script that has to display different variables according to which user is logged in.
My plan is to create a txt file on the server for each user that contains the accessrights for that user.
Lets say that in a menu I have option A to D. The logged in user is only allowed to see option A and C.
There is a database in which the options for the menu are stored so in fact I want to compare which of the options (A to D) are also in the txt file containing the users access rights.
I have tried some things but it's not really working out. How to do this? Maybe I'm just barking up the wrong tree and there is a much easier way to do this??
Any help would be greatly appreciated
Thanks