Same IP Address

Discussion in 'Troubleshooting' started by simplyr, Feb 26, 2011.

  1. simplyr

    simplyr Member

    Joined:
    Jul 25, 2010
    Messages:
    75
    Hey,

    All my members are given the same IP address for some odd reason when they login, I can't prevent account sharing!

    They are all given the server IP.

    Any ideas?
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Are they all at a single location (ie. school / business) where they might be sharing a common proxy server?

    If not, this may be an issue with your host blocking the information.
  3. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Add this line to the top of config.inc.php :
    PHP:
    $_SERVER['REMOTE_ADDR'] = $_SERVER'HTTP_X_FORWARDED_FOR' ];
    Let me know if this will not help.
  4. simplyr

    simplyr Member

    Joined:
    Jul 25, 2010
    Messages:
    75
    Alex do you mean right at the top before <?php...

    If not where about?
  5. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    It would go after the <? php
  6. simplyr

    simplyr Member

    Joined:
    Jul 25, 2010
    Messages:
    75
    It didn't work, same problem...
  7. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Please contact us in helpdesk I will help to debug this issue.

Share This Page