时间:2021-07-01 10:21:17 帮助过:46人阅读
代码如下:
require_once('Auth.php'); function show_login_form () { echo '
username:
password:
function back(){ echo 'back'; } require_once('Auth.php'); $auth=new Auth('DB',$option,'back'); $auth->start(); if($auth->checkAuth()) { echo "this is a session page,welcome "; echo "{$auth->getUserName()}"; } ?>
以上就介绍了p2psearcher绿色安装版 基于pear auth实现登录验证,包括了p2psearcher绿色安装版方面的内容,希望对PHP教程有兴趣的朋友有所帮助。
< 上一篇
spbmobileshellphp读取shell管道传输过来的内容
下一篇 >
contentsSearchFileContentsPHP搜索目录文本内容的代码
记住我的登录 忘记密码?
登录
我已阅读用户协议及版权声明
注册