Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Erm HTML Code?

  1. #1
    Join Date
    Sep 2004
    Posts
    6,609
    Tokens
    0

    Latest Awards:

    Default Erm HTML Code?

    Hey, does anyone know the HTML code where it displays the viewers IP address?

    Thanks in advance,
    -Adam

  2. #2
    Join Date
    Oct 2005
    Location
    Teh NORTH Pole! ;O
    Posts
    99
    Tokens
    0

    Default

    <script language="JavaScript">
    VIH_BackColor = "white";
    VIH_ForeColor = "black";
    VIH_FontPix = "16";
    VIH_DisplayFormat = "You are visiting from:<br>IP Address: %%IP%%<br>Host: %%HOST%%";
    </script>
    <script language="JavaScript" src="http://www.hashemian.com/js/visitorIPHOST.js.php"></script
    Newsie

  3. #3
    Join Date
    Sep 2004
    Posts
    6,609
    Tokens
    0

    Latest Awards:

    Default

    Thanks, +rep

  4. #4
    Join Date
    Aug 2005
    Location
    Webdesign Section
    Posts
    1,032
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Newsie
    Newsie
    Thats javascript www.zymic.com goto php they got better ones than tht junk lol

  5. #5
    Join Date
    Sep 2004
    Posts
    6,609
    Tokens
    0

    Latest Awards:

    Default

    Hm..

    How do I make "Your IP (blah blah) has been recorded." ?

  6. #6
    Join Date
    Aug 2005
    Location
    Webdesign Section
    Posts
    1,032
    Tokens
    0

    Latest Awards:

    Default

    In a form or just in general

  7. #7
    Join Date
    Oct 2005
    Location
    Teh NORTH Pole! ;O
    Posts
    99
    Tokens
    0

    Default

    <script language="JavaScript">
    VIH_BackColor = "white";
    VIH_ForeColor = "black";
    VIH_FontPix = "16";
    VIH_DisplayFormat = "Your IP has been recorded:<br> %%IP%%<br>";
    </script>
    <script language="JavaScript" src="http://www.hashemian.com/js/visitorIPHOST.js.php"></script
    Newsie

  8. #8
    Join Date
    Sep 2004
    Posts
    6,609
    Tokens
    0

    Latest Awards:

    Default

    How do I get it without the host bit? I just want the IP and when I remove the bottom it f_cks up.

  9. #9
    Join Date
    Oct 2005
    Location
    Teh NORTH Pole! ;O
    Posts
    99
    Tokens
    0

    Default

    Sorry, no clue.

    Newsie

  10. #10
    Join Date
    Aug 2004
    Location
    bristol
    Posts
    3,799
    Tokens
    0

    Latest Awards:

    Default

    PHP Code:
    <?php
    $ip 
    $_SERVER['REMOTE_ADDR'];
    echo 
    $ip;
    ?>
    kinda quit.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •