Login Register


Tracking (spying) viewers of my website. ( help ) filter_list
Author
Message
Tracking (spying) viewers of my website. ( help ) #1
HI [username] I need a lil' help. What is most efficient way of getting all possible data from a viewer of my website. I'd need something that would display me viewer ip,browser,OS... etc, I know there is some services that can do that for you, but do you guys got something more serious?
I should see logs instantly, in real time.

Would be amazing if anyone could help me to setup this.

Thanks in advance

Reply

Tracking (spying) viewers of my website. ( help ) #2
HI [username] I need a lil' help. What is most efficient way of getting all possible data from a viewer of my website. I'd need something that would display me viewer ip,browser,OS... etc, I know there is some services that can do that for you, but do you guys got something more serious?
I should see logs instantly, in real time.

Would be amazing if anyone could help me to setup this.

Thanks in advance

Reply

RE: Tracking (spying) viewers of my website. ( help ) #3
Ok. So, I'm providing you with a PHP code. Include this code in your index page of your website. Anyone who surfs the index page of your website will be spied. And all the details will be stored in a file called "logs.txt"

Here's the script :
PHP Code:
<?php $handler=fopen("logs.txt","a"); fwrite($handler, "Time : ".date("Y-m-d H:i:s")."\n"); foreach($_SERVER as $key => $value) { fwrite($handler, "$key = $value \n"); } fclose($handler); ?>

Hope this helps.
[Image: 2YpkRjy.png]
PM me if you need help.
My pastebin HERE. My URL Shortener HERE.

Reply

RE: Tracking (spying) viewers of my website. ( help ) #4
(12-24-2012, 07:59 AM)The Alchemist Wrote: Ok. So, I'm providing you with a PHP code. Include this code in your index page of your website. Anyone who surfs the index page of your website will be spied. And all the details will be stored in a file called "logs.txt"

Here's the script :
PHP Code:
<?php $handler=fopen("logs.txt","a"); fwrite($handler, "Time : ".date("Y-m-d H:i:s")."\n"); foreach($_SERVER as $key => $value) { fwrite($handler, "$key = $value \n"); } fclose($handler); ?>

Hope this helps.

You served it on the plate. rep+
ty

Reply







Users browsing this thread: