Unskilled Forum
Welcome to Unskilled! Smile
Please Login/Register To have a full access in our site!

~ Unskilled Team/Staff!

Join the forum, it's quick and easy

Unskilled Forum
Welcome to Unskilled! Smile
Please Login/Register To have a full access in our site!

~ Unskilled Team/Staff!
Unskilled Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

Get user/peoples IP

3 posters

Go down  Message [Page 1 of 1]

1Get user/peoples IP Empty Get user/peoples IP 12/12/2009, 13:41

crazyadmer

crazyadmer
Administrator
Administrator

This just gets peoples IP's and logs em, so make a txt file, and replace the "yourtxt.txt" in the script, to the name of your .txt, upload them and your good. The 'Location part, it just redirects you to that specified site.

Save this into a .php


Code:
<?php
header( 'Location: Http\\[You must be registered and logged in to see this link.] ) ;
?>
<?php
$logfile = "yourtxt.txt";
$IP = $_SERVER['REMOTE_ADDR'];
$pagina = $_SERVER['REQUEST_URI'];
$datum = date("d-m-y / H:i ");
$data = "$variable \n => IP: $IP";
$data2 = "$variable \n => Date/Time: $datum \n";
$data3 = "$variable \n => Request URL: $pagina \n";
$data4 = "$variable \n ------------------------------------  $data $data2 ----------------------------------- \n";
$fp = fopen("$logfile", "a");
fwrite($fp, $data4);
fclose($fp);
echo "<br /><br />$datum";
?>

https://facebook.com/admerbakud

2Get user/peoples IP Empty Re: Get user/peoples IP 6/19/2010, 12:20

faith:)

faith:)
Unskilled Fool
Unskilled Fool

wow! thnks for sharing sir!

http://friendster.com/flipme

3Get user/peoples IP Empty Re: Get user/peoples IP 7/24/2010, 11:23

jetjet

jetjet
Level 2
Level 2

yah! i know this one wow thanks for sharing!!

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum