您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

PHP中伪造HTTP_REFERER代码_PHP教程

2025/8/18 15:42:24发布19次查看
error_reporting( e_error | e_warning | e_parse );  set_time_limit(0);  $server  = www.2cto.com;   // ip address  $host    = www.2cto.com;   // domain name  $target  = /test.php?x=1;    // specific program  $referer = http://www.php100.net/down/redirect.php?x=downurl&id=39&urlid=65;    // referer  $port    = 80;  $re = fsockopen($server, $port, $errno, $errstr, 30);  if (!$re){     echo h1>无法连接远程服务器h1>h3>$errstr ($errno)h3/>;  }   else {   $strhead = get $target http/1.1;   $strhead .= host: $host;   //$strhead .= cookie: phpsessionidsqtbqsda=dfcapklbbficdafmhnkigkeg;   $strhead .= referer: $referer;   $strhead .= connection: close;  fwrite($re, $strhead);   while (!feof($re)){    echo fgets($re, 128);   }   fclose($re);  }   
http://www.bkjia.com/phpjc/486043.htmlwww.bkjia.comtruehttp://www.bkjia.com/phpjc/486043.htmltecharticleerror_reporting(e_error|e_warning|e_parse); set_time_limit(0); $ server = www.2cto.com ;//ipaddress $ host = www.2cto.com ;//domainname $ target = /test.php?x=1 ;//specificprogram...
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product