1. 首页
  2. 数据库
  3. 其它
  4. PHP实现用户认证及管理完全源码

PHP实现用户认证及管理完全源码

上传者: 2020-12-30 14:06:27上传 PDF文件 42.12KB 热度 10次
— begin auth.inc — <?php $id = “xxxCOM”; if(!isset($PHP_AUTH_USER)) { Header(“WWW-Authenticate: Basic realm=”$id””); Header(“HTTP/1.0 401 Unauthorized”); require(‘error.inc’); exit; } $name = $PHP_AUTH_USER; $pass = $PHP_AUTH_PW; require(“connect.inc”); $query = “select *
下载地址
用户评论