ip determine on my website

Discussion in 'Programming' started by bezumec, Jul 14, 2008.

  1. #1
    Hello every one, i hope this is righ pleace to write about this if not then admin pelase repleace it to the correct pleace !!

    I wanted to ask , how can i put something like an ip determine , i want to see in my website wich ip adreses was visiting my website !!:rolleyes:
     
    bezumec, Jul 14, 2008 IP
  2. chanakya

    chanakya Peon

    Messages:
    361
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    $ip = $_SERVER['REMOTE_ADDR'];
    echo $ip;
     
    chanakya, Jul 14, 2008 IP
  3. bezumec

    bezumec Peon

    Messages:
    173
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    it doesn't work or i don't do it in correct way :(
     
    bezumec, Jul 14, 2008 IP
  4. chanakya

    chanakya Peon

    Messages:
    361
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    Just put in the php file
     
    chanakya, Jul 14, 2008 IP
  5. bezumec

    bezumec Peon

    Messages:
    173
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    i sent you a pm please answer !!
     
    bezumec, Jul 14, 2008 IP
  6. bezumec

    bezumec Peon

    Messages:
    173
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    is any other possibility to put ip determine on website?
     
    bezumec, Jul 14, 2008 IP
  7. serialCoder

    serialCoder Guest

    Best Answers:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #7
    if you are using php, the advise above is the easiest and fastest solution, that is if you know php even a bit
     
    serialCoder, Jul 14, 2008 IP
  8. mrphp

    mrphp Well-Known Member

    Messages:
    682
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    110
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #8
    What you need to do is save all remote ip to your database and display it to your admin section.

    For every user of your site has $_SERVER['REMOTE_ADDR'] and before opening your site by a user, you have
    to save their IP to your database then you can determine all IP's that are visiting to your website.
     
    mrphp, Jul 14, 2008 IP