Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Feb 2004
    Location
    california
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ip addresses & dns names

    Is there any way to get IP addresses and DNS names in Javascript. I found out how to do it in PHP, but some of my web sites don't support PHP

    Thanks in advance,
    - sharyn
    'tis best not to get worked up over nothing

  • #2
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Not in all browsers...
    You can also try looking here or here....

    .....Willy

  • #3
    New Coder
    Join Date
    Feb 2004
    Location
    california
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Willy Duitt
    Not in all browsers...
    You can also try looking here or here....

    .....Willy
    Willy,
    LOL. Yeah, that was me asking in the same question in different forums. I've found while some people populate the same forums, there are quite a few who don't. By posting to a few forums at a time, I've gotten some great answers in some that others have not had answers in

    Thanks though.
    - sharyn
    'tis best not to get worked up over nothing

  • #4
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you can paste the IP into a JS variable using SSI and REMOTE_ADDR property, but JS has no direct access to serverside variables.
    *keep it simple (TM)


  •  

    Posting Permissions

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