By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,624 Members | 1,687 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,624 IT Pros & Developers. It's quick & easy.

get server dynamic internet IP

P: n/a
Hi,

how to get the server dynamic internet IP from javascript ?

Regards
hoe
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Using Active server pages:

var IP='<%=request.servervariables("remote_host")%>'

I don't think you can get such info strictly from javascript.... By
definition of your question, you must access the server to get the
server IP.

Jul 23 '05 #2

P: n/a
No can do. You need to use server-side scripting for that.

On Thu, 17 Mar 2005 21:44:49 +0800, "tnhoe" <tn***@pc.jaring.my>
wrote:
Hi,

how to get the server dynamic internet IP from javascript ?

Regards
hoe


Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.