http协议介绍

时间:2018-08-20 07:00:40
【文件属性】:

文件名称:http协议介绍

文件大小:185KB

文件格式:DOC

更新时间:2018-08-20 07:00:40

http协议

http协议的基本介绍,实例笔记 if(isset($_SERVER['HTTP_REFERER'])) { //取出$SERVER['HTTP_REFERER'] //判断 isset($SERVER['HTTP_REFERER'] 是不是以,本网站域名开始(http://localhost/Myphp/http/开始) if(strpos($_SERVER['HTTP_REFERER'],"http://localhost/Myphp/http/")==0) { echo "密码是qqqqqqqqqqqqqq"; } else { //跳转到警告页面 header("location: warning.php"); } }else{ //跳转到警告页面 header("location: warning.php"); }


网友评论