Results 1 to 2 of 2

Thread: Get IP??

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Location
    Texas
    Posts
    88

    Get IP??

    Is there a way to get ip address by using ASP page? If so, how? Thanks.

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Yes, the REMOTE_HOST or REMOTE_ADDR CGI variables should hold the IP. (REMOTE_HOST may get the server name or the ip address).

    Code:
    Response.Write Request.ServerVariables("REMOTE_ADDR")
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

Posting Permissions

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



Click Here to Expand Forum to Full Width