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

Getting the target Ip number of a POST SUBMIT

P: n/a
Say I do a post/submit in javascript, is there a way to get the ip
address of the server I am aiming the request to?

Jan 11 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
marc wrote:
Say I do a post/submit in javascript, is there a way to get the ip
address of the server I am aiming the request to?


Yes, but only with a response that includes that IP address, or another
request to the same server and a different resource that generates a
response to contain that information, or a resource on another server
that generates that kind of response if it has a fully qualified domain
name submitted to it. There is no built-in name-resolving feature in JS
or the (I)XMLHttpRequest interface, if you mean that, and the server is
unlikely to send a response header containing its IP address.
PointedEars
Jan 11 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.