PHP Admin Account
问题 On my website, I want a few options to be enabled when someone logs in with an admin account. My question is about how to secure that admin account as much as possible. They way login is setup on my website is after authenticating login, i do this $_SESSION['status'] = 'authorized'; and then i say something like this: <script> $(document).ready(function(e) { if(<?php echo ($_SESSION['status'] == 'authorized'); ?>) { $('#account_window').show(); } }); </script> <div id="account_window"> /