Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: I'm looking for IP logger

  1. #1
    Join Date
    May 2008
    Posts
    6
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default I'm looking for IP logger

    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.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    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

  3. The Following User Says Thank You to Nile For This Useful Post:

    CookiemonsterAG(: (05-31-2008)

  4. #3
    Join Date
    May 2008
    Posts
    6
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default

    As long as i can track their ip address,it alright.
    I suppose i want the 2nd option

  5. #4
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    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.

  6. The Following User Says Thank You to Medyman For This Useful Post:

    CookiemonsterAG(: (05-31-2008)

  7. #5
    Join Date
    Aug 2007
    Location
    North Carolina
    Posts
    11
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Statcounter

    Try Statcounter.com. They have a free service that tracks IP addresses amoung other stats for free.

  8. The Following User Says Thank You to CHunt For This Useful Post:

    CookiemonsterAG(: (05-31-2008)

  9. #6
    Join Date
    Jun 2006
    Posts
    42
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Try Bbclone it's free

  10. The Following User Says Thank You to glucarelli For This Useful Post:

    CookiemonsterAG(: (05-31-2008)

  11. #7
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    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:
    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);
    ?>
    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 include('../logger.php'); ?>
    For this script I'm not gonna provide an example because some people like there IP secretive.
    I hope this helps!
    Nile
    Jeremy | jfein.net

  12. The Following User Says Thank You to Nile For This Useful Post:

    CookiemonsterAG(: (05-31-2008)

  13. #8
    Join Date
    May 2008
    Posts
    6
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default

    Thank you very much (:

  14. #9
    Join Date
    May 2008
    Posts
    6
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default

    Can this be put in blogger?

    -glucarelli,do i have to download?

  15. #10
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    If blogger allows PHP my code will work in blogger.
    Jeremy | jfein.net

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •