if(!empty($user['UserName']))$authenticated=true; //要限制學校請將63行註解取消,並修改學校代碼,此外,請將61行加上註解 //if(!empty($user['UserName']) and $user['SchoolCode']=='213604')$authenticated=true; ``` 改為只有某學校可以登入(範例213604是東光國小的教育部學校代碼) ``` //if(!empty($user['UserName']))$authenticated=true; //要限制學校請將63行註解取消,並修改學校代碼,此外,請將61行加上註解 if(!empty($user['UserName']) and $user['SchoolCode']=='213604')$authenticated=true; ```
//if(!empty($user['UserName']))$authenticated=true; //要限制學校請將63行註解取消,並修改學校代碼,此外,請將61行加上註解 if(!empty($user['UserName']) and $user['SchoolCode']=='213604')$authenticated=true; ```
進階搜尋
62人線上 (3人在瀏覽線上書籍)
會員: 0
訪客: 62