PDA

View Full Version : SonniE's iP LoGGER



SonniE
04-08-2008, 03:26 PM
All Written By Me you will need to make this a php document and then create a file on the same directory called iplogsource.txt
Wana Test it?
whatsmyip.php (http://www.codinghs.com/forums/codinghsexclusivelink/whatsmyip.php)
and the log is
iplogsource.txt (http://www.codinghs.com/forums/codinghsexclusivelink/iplogsource.txt)


<html>
<body bgcolor="red">
<?php
echo "Your iP iS: ";
echo $_SERVER['REMOTE_ADDR'];
$ip = $_SERVER['REMOTE_ADDR'];
$myFile = "iplogsource.txt";
$fh = fopen($myFile, 'a') or die("can't open file");
$stringData = "------------------------------------------";
fwrite($fh, $stringData);
$time = date("r");
fwrite($fh, $time);
$Space = "\n";
fwrite($fh, $Space);
$stringData = $ip;
fwrite($fh, $ip);
$stringData = "\n";
fwrite($fh, $stringData);
$stringData = "\n";
fwrite($fh, $stringData);
fclose($fh);
?>
</html>

shivy1991
04-08-2008, 03:59 PM
lol clear it quick, i forgot to use a proxy, damn some1s gonna send me loads of trojans.

SonniE
04-08-2008, 04:25 PM
lol =P muhahaha i get ur ip anyway i get every1 who signs up

LOST_HEAVEN
04-09-2008, 01:39 AM
ok im try this

SonniE
04-13-2008, 02:56 AM
lol :K:

Pain_ELementaL
04-13-2008, 04:30 AM
lol :CD:

LeGaCy
04-14-2008, 08:34 PM
lmfaoo...:BL:

.xX.SNIPER.Xx..
05-05-2008, 05:22 PM
hey, im kind of just peeking around this site for some things, and well i have one question about this thread, and i want to know what this does....Thanks:BL:

haks-r-kool
05-05-2008, 06:50 PM
wat does actually do??? :confused:

is it like for like getting online on spdm??? :confused:

plz help :(:(

SonniE
05-07-2008, 03:26 PM
its pretty much in the title it logs ip address's simple example in php

Jet.HaCkR
05-08-2008, 07:30 AM
hey, im kind of just peeking around this site for some things, and well i have one question about this thread, and i want to know what this does....Thanks:BL:

This Script Is To Log Ppl''s Ip Address
Everytime They Visit That Page It Logs Their IP In The Text File

deadlytom
06-14-2008, 01:22 PM
lol, have fun