setcookie("gosc", "1", time()+3); if($gosc!="1") { $skad = $_SERVER['HTTP_REFERER']; $fp=fopen("refs.html", "a"); flock($fp, 2); fwrite($fp, "