...

View Full Version : ip addresses & dns names



sharyn
08-23-2004, 05:33 PM
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 :mad:

Thanks in advance,
- sharyn

Willy Duitt
08-23-2004, 05:55 PM
Not in all browsers...
You can also try looking here (http://www.codingforums.com/showthread.php?p=228502#post228502) or here (http://www.webxpertz.net/forums/showthread.php?t=30029)....

.....Willy

sharyn
08-23-2004, 05:58 PM
Not in all browsers...
You can also try looking here (http://www.codingforums.com/showthread.php?p=228502#post228502) or here (http://www.webxpertz.net/forums/showthread.php?t=30029)....

.....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 :D

Thanks though.
- sharyn

jbot
08-23-2004, 10:08 PM
you can paste the IP into a JS variable using SSI and REMOTE_ADDR property, but JS has no direct access to serverside variables.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum