include "includes/resource.php";
$ip = $_SERVER["REMOTE_ADDR"];
$src = $_GET['src'];
$logPath = "log/";
$imagePath = "images/";
if( array_key_exists($src, $srcArray) )
{
$countFileName = "count[".$src."]".date("Y-m-d", time()).".txt";
$countFilePath = $logPath.$countFileName;
$countStr = date("Y-m-d H:i:s", time())."|".$ip."\r\n";
//echo $ip." = ".$srcArray[$src]."
";
$fp = fopen($countFilePath, "a+");
fwrite($fp, $countStr);
fclose($fp);
echo "
";
}
?>