Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1

    Default What's code to show ip of visitor?

    Hey , till now I tried a code but it will only work on a freewebs page :s.
    I'm looking for the html code that shows visitors ip on all hosts.

    Can any1 help?
    www.habbo-works.tk
    Normal for you , Strange for us!

  2. #2

    Default

    can no1 help? :s I think some1 already used this on his/her site so plzz :p
    www.habbo-works.tk
    Normal for you , Strange for us!

  3. #3
    Join Date
    Aug 2005
    Location
    Spain
    Posts
    1,367
    Tokens
    0

    Latest Awards:

    Default

    its php i think check http://www.phpfreaks.com/ out

  4. #4
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    I think you might be able to get a javascript version but im not sure.. the php version is
    PHP Code:
    <?php echo $_SERVER['REMOTE_ADDR']; ?>


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  5. #5

    Default

    splinter the code you gave me I just need to enter in the html page and It will show visitors ip?
    www.habbo-works.tk
    Normal for you , Strange for us!

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

    Latest Awards:

    Default

    You'll need to have a host which supports PHP for the code splinter gave you to work.
    kinda quit.

  7. #7

    Default

    I have a host which support php but If i add code to a page saved as .html , It won't show up but I want to put the visitors ip into another page and that page is made in html.. so how i fix this?
    www.habbo-works.tk
    Normal for you , Strange for us!

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

    Latest Awards:

    Default

    Save the page with that code inside it as a .php
    kinda quit.

  9. #9

    Default

    but the html codes can stay in it?
    www.habbo-works.tk
    Normal for you , Strange for us!

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

    Latest Awards:

    Default

    Yes they can, just save the page as .php
    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
  •