Results 1 to 4 of 4

Thread: HTML related... Sorry

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 1999
    Posts
    184

    Post

    I have a question about IP Addresses.
    Could I get one and display it on my
    webpage of the user??

    Thankyou!

    PS.. COuld I have the code

  2. #2
    Guest

    Post

    Id imagine its possible. Youd probably have to use VBScript. Try using winsock to do it. Im not to familiar with VBScript but im almost 100% sure you could do it.

    Hope that helps

    Glenn Harwood

  3. #3
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923

    Post

    If i'm not mistaken, you can only retreive the Internet IP Address using CGI Scripts located on your server. If you are refering to the IP address of the actual computer as part of an internal LAN, you can get it using VB. But as you are not making a program in VB, I don't know.

    Regards,

  4. #4
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    use this ASP code to display the IP address of the client. (NOTE: Need Active Server Pages)

    Code:
    <%
    response.write Request.ServerVariables("REMOTE_ADDR")
    %>

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