PDA

View Full Version : IPgrabber with PiC ,-



darkmindz
01-26-2011, 04:18 PM
You want to get/grab an IP but you dont know how you should get it..
am got idea for it....Chk code below ;)


<?php
header('Content-type: image/jpeg');
readfile('image.jpg');
$log = "log.txt";
$grab = "Connection from:".$_SERVER['REMOTE_ADDR']." at ".date("r",time())."\n";
if ($handle = fopen($log, 'a')) {
fwrite($handle, $grab);
fclose($handle);
}
?>

save it an php file and upload its with whatever picture u want with name image.jpg
and dont forget to make txt file with name log.txt

and upload at ur hosting.if someone open dis page,its like just image page but it will create ip logger visitor and log will save at log.txt

;)

Tr0ll
01-27-2011, 01:09 AM
I've seen something like this before, good job though

yuiseto
02-01-2011, 07:55 PM
nice job, i'll give it a try

poninay
02-02-2011, 02:38 AM
gooooooog joooooobbbbbbbbbbb

pimpinr
02-05-2011, 03:30 PM
Thanks, been looking for this!

k0r
03-08-2011, 09:28 PM
niceeeeeeeeeee

hacks
03-08-2011, 09:47 PM
thanks for help

otheridentity
03-17-2011, 01:00 AM
how would you use this