HTTP协议
来源:互联网 发布:数据库的原子性 编辑:程序博客网 时间:2024/04/30 22:13
一个小程序,不知道为什么不好使!是不是还要有什么设置啊?
<?
if(!isset($php_auth_user))
{
header("WWW-Authenticate:basic realm=/"my realm/"");
header("http/1.0 401 unauthorized");
echo"text to send if user hits cancle button/n";
exit;
}
else
{
echo"hello $php_auth_user.<p>";
echo"you entered $php_auth_pw as your password.<p>";
}
?>
<?
if(!isset($php_auth_user))
{
header("WWW-Authenticate:basic realm=/"my realm/"");
header("http/1.0 401 unauthorized");
echo"text to send if user hits cancle button/n";
exit;
}
else
{
echo"hello $php_auth_user.<p>";
echo"you entered $php_auth_pw as your password.<p>";
}
?>
- HTTP协议
- http协议
- HTTP协议
- HTTP协议
- HTTP协议
- http协议
- HTTP协议
- HTTP协议
- HTTP协议。。。
- HTTP协议
- HTTP协议
- HTTP协议
- HTTP协议
- HTTP协议
- http协议
- HTTP协议
- http协议
- HTTP协议
- JAVAMAIL邮件服务器
- 《离职申请表》交了后 在公司最后一天上班
- 让DataGrid拥有单击回传事件并带回指定字段的值
- 今天生日!
- DES算法
- HTTP协议
- FTP连接
- 所有asp错误代码(错误出现的说明)顶
- PHP上传文件
- 如果把A-Z分成1-26分
- 如何使用PHP中的字符串函数
- PHP中如何使用header发送头部信息
- 18个经典培训故事(1)
- DLL后门PortLess的安装手册