Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: Show user IP

  1. #11
    Join Date
    Oct 2004
    Location
    Derby
    Posts
    790
    Tokens
    1,148

    Latest Awards:

    Default

    What IS the code?



    People who I respect

    RichardKnox | Nets | JoeComins | Raremandan | Embrace | Css | Encryptions!

    I love Christmas too much - Im looking forward to it already!

  2. #12
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    <!--#echo var="REMOTE_ADDR " -->

    is using SSI, this usealy only works on pages with the shtml exsention.


    <? #echo "IP: $ip = $_SERVER['REMOTE_ADDR']"; ?>
    is php, an only works on php pages, athogh wouldnt work as # woul convernt the rest of the line in to a comment "/

  3. #13
    Join Date
    Oct 2004
    Location
    Derby
    Posts
    790
    Tokens
    1,148

    Latest Awards:

    Default

    will any of them workon FrontPage?



    People who I respect

    RichardKnox | Nets | JoeComins | Raremandan | Embrace | Css | Encryptions!

    I love Christmas too much - Im looking forward to it already!

  4. #14
    Join Date
    Nov 2004
    Location
    HabboWeb FM Offices
    Posts
    3,019
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Rob
    will any of them workon FrontPage?
    If you save your file as PHP or shtml, yes

  5. #15
    Join Date
    Nov 2004
    Location
    Daventry, Northants
    Posts
    1,510
    Tokens
    0

    Latest Awards:

    Default

    Yes and your server will need to support PHP i think

  6. #16
    Join Date
    Nov 2004
    Location
    HabboWeb FM Offices
    Posts
    3,019
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Anderman
    Yes and your server will need to support PHP i think
    Yes

    If you save it as PHP, make sure your host supports PHP

  7. #17
    Join Date
    Jan 2005
    Location
    Kentucky Fried Chicken
    Posts
    4,610
    Tokens
    0

    Latest Awards:

    Default

    LOl ;D Nice Scritts

  8. #18
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    You aslo need your sever to support ssi to use that, athogh most do "/

  9. #19
    Join Date
    Jan 2005
    Location
    Kentucky Fried Chicken
    Posts
    4,610
    Tokens
    0

    Latest Awards:

    Default

    Most Paid Do, Free Hardly Ever

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

    Latest Awards:

    Default

    to use the <!-- one save the page as .shtml


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

Page 2 of 2 FirstFirst 12

Posting Permissions

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