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

How to get client IP address?

P: n/a
Don
How can I get the client's IP address from within an HTML page using embedded JS?

Thanks for your help,
Don

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Jul 23 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
Don wrote:
How can I get the client's IP address from within an HTML page using
embedded JS?


You can't.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 23 '05 #2

P: n/a
Don wrote:
How can I get the client's IP address from within an HTML page using embedded JS?

Thanks for your help,
Don

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----


You can't... and the folk who do manage it use something like ASP or a
server side language like Perl or PHP... If you use ASP, it will only
work on IE browsers...

randelld
Jul 23 '05 #3

P: n/a
*** Randell D. wrote/escribió (Thu, 17 Mar 2005 08:23:20 GMT):
You can't... and the folk who do manage it use something like ASP or a
server side language like Perl or PHP... If you use ASP, it will only
work on IE browsers...


ASP *is* a server-side language.
--
-- Álvaro G. Vicario - Burgos, Spain
-- Don't e-mail me your questions, post them to the group
--
Jul 23 '05 #4

P: n/a
Randell D. wrote on 17 mrt 2005 in comp.lang.javascript:
If you use ASP, it will only work on IE browsers...

What nonsense.

ASP is serverside and the output is as browser independent as any other
page.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Jul 23 '05 #5

P: n/a
Don
I suppose I should post this on the PHP group, but since I started her, how is it done in PHP on
the server?

Thanks, Don

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Jul 23 '05 #6

P: n/a
Don wrote:
I suppose I should post this on the PHP group, [...]


You have, so wait for your responses there, please.

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #7

P: n/a
Lee
Don said:

I suppose I should post this on the PHP group, but since I started her, how is
it done in PHP on
the server?


Yes, you should post this to a PHP group.
But you should also be aware that the IP address may be useless to you.
Some people have a different IP address every time they connect.
Others share a proxy IP address with hundreds of other people.

Jul 23 '05 #8

P: n/a
Don
Thanks everyone. I appreciate all your help.

Regards,
Don

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Jul 23 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.