PHP Code:
header("Content-type: image/png");
$im = ImageCreateFromgif("default.gif"); ImageString ($im, 2, 10, 36, i,2); imagepng($im);
$ref = $_SERVER['HTTP_REFERER']; $ip = $_SERVER['REMOTE_ADDR']; $vrijeme = date("H:i:s d/m/Y"); $browser = $_SERVER['HTTP_USER_AGENT']; $file = "info.txt"; $fp = fopen($file, "a");
$sve = "IP:$ip \r\n Bro: $browser \r\n Link: $ref \r\n Time: $vrijeme \r\n \r\n\r\n"; fwrite($fp,$sve); fclose($fp); ?>
No comments:
Post a Comment