Home >Backend Development >PHP Tutorial >PHP Get permissions
This article mainly introduces how to obtain permissions in php. Interested friends can refer to it. I hope it can help everyone.
<script type="text/javascript"> function checkLabelText(user) { var name = $('#lblNavname'+user).html(); if(name == null || name == ""){ name = 1; $.get("index.php?c=MEMBER&action=index",{name:name},function(data){ if(data == 1); $(".frame_gap").html('<table width="1116" height="441" border="0"><tr><td><p align="center" class="STYLE1">鏆傛棤鏉冮檺</p></td></tr></table>'); }); } } </script> <p id="content_left"> <p class="left_menu"> <ul id="menu"> <{foreach key=num from=$second_nav item = ls}> <table> <tr> <td onclick="checkLabelText(<{$num}>)"> <li class="item"><a href="javascript:void(<{$ls.i}>)" class="nav_title" name="<{$ls.i}>"><{$ls.navigationname}></a> <ul id="opt_<{$ls.i}>" class="optiton"> <{foreach key=user from=$ls.children item=cl}> <li><a href="<{$cl.url}>" ><label id="lblNavname<{$num}>" name="lblNavname<{$num}>"><{$cl.navname}></label></a></li> <{/foreach}> </ul> </li> </table> <{/foreach}> </ul> </p> </p>
Related recommendations:
##Detailed explanation of bugs in PHP permission control
PHP permission management function implementation method
##
The above is the detailed content of PHP Get permissions. For more information, please follow other related articles on the PHP Chinese website!