Closed Thread
Results 1 to 3 of 3

Thread: Local IP's in PHP4

  1. #1
    Moderator ashben is an unknown quantity at this point ashben's Avatar
    Join Date
    Oct 2000
    Posts
    746

    Wink

    Which server variable or function is used to get the users IP address in PHP4?

    Any help is appreciated.
    Independent IT Professional
    Development, Integration, Designing
    www.ashben.com

  2. #2
    Pro Member Woofcat is an unknown quantity at this point Woofcat's Avatar
    Join Date
    Nov 2000
    Location
    Chicago
    Posts
    286

    Exclamation

    Depends on the server, but getenv('REMOTE_ADDR') is usually good.
    Es ist nicht leicht ein Gott zu sein

  3. #3
    Moderator ashben is an unknown quantity at this point ashben's Avatar
    Join Date
    Oct 2000
    Posts
    746

    Smile

    Thanks man, it helped!
    Independent IT Professional
    Development, Integration, Designing
    www.ashben.com

Closed Thread

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