Home > Backend Development > PHP Tutorial > 求关于php权限设置和管理的思路解决方案

求关于php权限设置和管理的思路解决方案

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 13:37:14
Original
838 people have browsed it

求关于php权限设置和管理的思路
分成管理员和普通用户,用户只能修改一次个人信息,再想修改必须有管理员授权,就是想弄一个按钮管理员一点,用户才能进行第二次的修改信息操作,求高手指点下思路。。。。。

------解决方案--------------------
加个字段初始为0,用户修改信息后字段自动更新为1,管理员授权把该字段重置为0
每次用户修改信息检查该字段,0则可以修改,1则需要授权

Related labels:
php
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template