Description Anyone who comes to ur forum's IP Adress, Site they came From, Their Browser and the time they came will get saved in a place that only the admin knows the location of...
V.2 More features coming up in V.2!!! POst suggestions/problems...
Preview:-
http://s15.invisionfree.com/Spy/index.php?
REFRESH THE PAGE, AND GO HERE:-
http://h1.ripway.com/programming/spy%20code/spy.html
^^^^^^^That shows all the IP's, Browsers, Time, site and stuff....^^^^^^^^
Code
First of all, you'll need to host the files....
I suggest you make an account in http://ripway.com or other host that allows php.....
Now make a new text file in ripway.
Name it spy.php and put this in it:-
QUOTE
<html>
<head>
<title>Spy on yor site code by tapan21 of http://rpg.t28.net/ </title>
</head>
<table border="5" bg color="white">
<tr>
<td><center>
<body>
<?php
//--------------------------------
// Spy on your website! Logs in time, ip, the site you came from and browser!
// Created by: Tapan21 of http://rpg.t28.net
//--------------------------------
$spy = fopen("spy.html" , "a");
$site = $HTTP_REFERER;
$ip = $REMOTE_ADDR;
$browser = $HTTP_USER_AGENT;
$time = date("H:i dS F");
echo "The site you came from: " . $_SERVER["HTTP_REFERER"] . "<br />";
echo "ALL IP ADRESSES, TIME, SITE AND YOUR BROWSERS ARE BEING CAPTURED!";
fwrite($spy,"<<<<<------------BEGIN------------>>>>><br />");
fwrite($spy,"Site you came from: $site <br />");
fwrite($spy,"IP Address: $ip <br />");
fwrite($spy,"Browser: $browser <br />");
fwrite($spy,"Time: $time <br />");
fwrite($spy,"<<<<<------------END------------>>>>><br />");
fclose($spy);
?>
</table>
</center></td>
</tr>
</table border>
</body>
</html>
Save it...
Now make a new text file and name it spy.html
Add this in it:-
QUOTE
Save it...
Now go to ur site/forum and put this code in the "<body>"tags...
QUOTE
<script src='LINK TO SPY.PHP FILE!'></script>
And you're done!!!
How it works Every time some one goes to your site/forum index page (i think) their info will be saved in your spy.htmlfile! Dont ever forget the url to the spy.html file!
Code From:Arcade Highscore
So all you have to do is go to the spy.html file to see all the info.....
You can even edit the spy.html file if its over full!
It''s very easy to use!
PLease post any questions, complaints or suggestions for my next version!
Enjoy!!


