User management rights related issues, everyone help
Source: Internet
Author: User
User management permissions problems, everyone help!
The following code is in the XML:
Page is the clicked Link, authority is the permission setting
User test, admin two users, test permissions only news management, Admin has all the permissions.
Now you want the user to log in, read the User.ini file to get the user rights, the format is as follows:
[News]
Listnewspage = 000001
Addnewspage = 000001
[User]
Listuserpage = 000010
Adduserpage = 000010
I would like to ask you elder brother, how should the function be written to achieve this function?
------Solution--------------------
What does User.ini contain? Please describe the point clearly.
------Solution--------------------
What is the relationship between these two files? Still do not understand AH.
------Solution--------------------
Parse_ini
DOMDocument
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service