55 users online (0 members and 55 guests)  

Thread: IP generator


  Results 1 to 2 of 2

Related

  1. Looking for a domain name generator site    Forum: One Stop Domains Forum
    Replies: 5
  2. ISO Character Set Generator    Forum: HTML Forum
    Replies: 1
  3. code generator    Forum: HTML Forum
    Replies: 1
  4. CSS Generator!!!    Forum: HTML Forum
    Replies: 2
  1. #1
    mac_will_die's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2004
    Posts
    1

    IP generator

    I was wanting to know how would i get some ones ip address to show up as text at the top of my page, near the banner - if you know the script, please post. Any information is helpfull - thanks

    Garrett

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Welcome to the forums.

    You need:

    Code:
    <?php
    echo $_SERVER['REMOTE_ADDR'];
    ?>
    All the available server variables: http://php.net/manual/en/reserved.va...riables.server
    Last edited by HTML; 03-09-2012 at 09:41 PM.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?



Tags for this Thread