SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Feb 2005
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Retrieving an IP Address...

    I've been looking around everywhere, and im pretty sure that there is a simple solution. I just need to know how to retrieve someone's IP Address. I'm creating my own feedback type thing, and I just thought it would be nice to have their IP address when they send something. Thanks!

  2. #2
    SitePoint Wizard silver trophy Jelena's Avatar
    Join Date
    Feb 2005
    Location
    Universum, 3rd Corner
    Posts
    3,000
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    $_SERVER["remote_addr"]
    -- Jelena --

  3. #3
    Umm. PHP Guru....Naaaah jaswinder_rana's Avatar
    Join Date
    Jul 2004
    Location
    canada
    Posts
    3,193
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i think this will do
    PHP Code:
    echo $_SERVER["REMOTE_ADDR"]; 
    ---------------------------
    Errors = Improved Programming.
    My Site

  4. #4
    SitePoint Member
    Join Date
    Feb 2005
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ahhh ty! finally an answer xD!


Bookmarks

Posting Permissions

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