Lounge
#dat habbo nigga
- Apr 12, 2012
- 304
- 27
Hello devbest, and welcome to my tutorial
This is NOT for getting people IP and ddosing it, I am not responsible for what you do with this.
You not have to create a iplog.txt it self creating and posting the IP's in the txt file.
Once you have do that create a simply HTML page.
Thanks, like this post if this was simply or help for you.
This is NOT for getting people IP and ddosing it, I am not responsible for what you do with this.
PHP:
<?php
//getting user IP
$IP = $_SERVER["REMOTE_ADDR"];
//setting the Text file
$file = “iplog.txt”;
//create a text file to store the IP address
$txtfile = fopen($file, “a”);
//now we write the ip into the text file
fwrite($txtfile, $IP);
fwrite($txtfile, “
“);
fclose($txtfile);
$message = “Your IP Has Been Logged It Is:”;
echo $message; echo $IP;
?>
You not have to create a iplog.txt it self creating and posting the IP's in the txt file.
Once you have do that create a simply HTML page.
HTML:
<html>
<head>
</head>
<body>
<center><h2>Hello, and welcome to $Sitename$</h2></center>
<hr>
<center><h5>Your IP is logged, for security reasons <?php echo $IP;?></h5></center>
</body>
</html>
Thanks, like this post if this was simply or help for you.