I'm extremely new to this.
I been searching high and low for this code.
I find some code but it doesn't work at all.
I'm extremely new to this.
I been searching high and low for this code.
I find some code but it doesn't work at all.
Logger are two different things in my mind.
Do you want it to be like:
X.XXX.XX.X is going to ./exam/quiz.php
or just:
X.XXX.XX.X
?
Jeremy | jfein.net
CookiemonsterAG(: (05-31-2008)
As long as i can track their ip address,it alright.
I suppose i want the 2nd option
I always use a combination of Google Analytics and Mint for all my tracking needs.
Google Analytics DOES NOT track individual user IP addresses in reports. However, Google Analytics DOES have a feature called "user-defined segmentation". The standard set of reports include a number of options (geographical, referring source, new/returning - all under "marketing optimization").
Mint also tracks based on location etc...information garnered from IP logs but not really displaying individual IP addresses.
Depending on what you need this information for, that might/might not help.
Last edited by Medyman; 06-03-2008 at 01:49 PM.
CookiemonsterAG(: (05-31-2008)
Try Statcounter.com. They have a free service that tracks IP addresses amoung other stats for free.
CookiemonsterAG(: (05-31-2008)
Try Bbclone it's free![]()
CookiemonsterAG(: (05-31-2008)
Ok. Make a page called logger.php and put it in the main dir(www or public_html). Then put this code in that file:
A file will create called logger.txt if you run this page. Go inside that file and you should see all the info you need. To put this logger on every page use this PHP code:PHP Code:<?php
$logger = "logger.txt";
$fh = fopen($logger, 'a') or die("can't open file");
$log_data = date("m/d/y, g:i:s").": ".$_SERVER[REMOTE_ADDR]." went to ".$_SERVER[PHP_SELF]."\n";
fwrite($fh, $log_data);
fclose($fh);
?>
For this script I'm not gonna provide an example because some people like there IP secretive.PHP Code:<?php include('../logger.php'); ?>
I hope this helps!
Nile
Jeremy | jfein.net
CookiemonsterAG(: (05-31-2008)
Thank you very much (:
Can this be put in blogger?
-glucarelli,do i have to download?
Bookmarks