Development Java: Visitor IP Address

Discussion in 'Software' started by Xiachunyi, 23 Jul 2004.

  1. Xiachunyi

    Xiachunyi What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,404
    Likes Received:
    0
    Hello, I know this question probably has popped up over and over but searching the forum yielded nothing and I am too overwhelmed with information via the internet search engine.

    My question is: How would you obtain a visitor's IP address that is visiting your webpage in Java if possible?

    Thank you.
     
  2. Ben

    Ben What's a Dremel?

    Joined:
    11 Aug 2003
    Posts:
    1,000
    Likes Received:
    0
    first thing i came to::
    but then got this link

    on my hosts servers i can add the code <!--#echo var="REMOTE_ADDR" --> to the page to show the visitor's IP I need to put it in a .shtml file though. same as ^^

    i also found this link its php though
     
  3. simon w

    simon w What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,302
    Likes Received:
    0
  4. Xiachunyi

    Xiachunyi What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,404
    Likes Received:
    0
    Thank you both for the reply. :D

    Java and Javascript :duh:
     

Share This Page