xampp выводит не паривльно REMOTE_ADDR

Discussion in 'PHP' started by Москва, 12 Aug 2013.

  1. Москва

    Москва New Member

    Joined:
    19 Oct 2010
    Messages:
    67
    Likes Received:
    3
    Reputations:
    0
    Почему при:
    PHP:
    echo($_SERVER['REMOTE_ADDR']);
    Выводит:
    Code:
    ::1
    Где то на апаче надо настроить, но где?
     
  2. b3

    b3 Moderator

    Joined:
    5 Dec 2004
    Messages:
    1,986
    Likes Received:
    879
    Reputations:
    198
    В линуксе такое возможно, Линукс же?

    Code:
    # The following lines are desirable for IPv6 capable hosts
    ::1     ip6-localhost ip6-loopback
     
    _________________________
Loading...