Author Topic: No ip logging  (Read 33493 times)

Wil

  • Newbie
  • *
  • Posts: 2
    • View Profile
No ip logging
« on: 20 January 2007, 20:36 »
Turning register_globals=off has an effect on ip logging! It seams that ipadresses aren't logged anymore "(Host could not be resolved)"!   :-\
Is there a solution for this?

Many thanks in advance.

Wil

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: No ip logging
« Reply #1 on: 26 January 2007, 20:39 »
Solved!

mambook.php change line 202 to:
// IP
   $ip = mosGetParam( $_SERVER, 'REMOTE_ADDR', '' );

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,453
    • View Profile
    • Sakic.Net
Re: No ip logging
« Reply #2 on: 26 January 2007, 20:49 »
Thanks.
It was on my list for fix but you were faster. :)