Click to See Complete Forum and Search --> : Enquiry
jasonlim67
12-31-2002, 02:59 AM
Is there any way to display someone IP address and his/her ISP using JavaScript? As an example, I want my site to contain these words:-
Welcome To My Website, username@isp
Your IP address is ……..
I hope someone can help me.
Thanks.
try
http://javascript.internet.com/user-details/ip-address.html
khalidali63
12-31-2002, 10:40 AM
The link posted above is decieving,since at this point I don't think there is a way to get a users ip address,unless the address bar has the ip address as url.
JavaScript as of this date is not equiped with capabilityes to have access about any local system or machine.
You will have to use some kind of server side programming languages,
such as Java(JSP or servlet) ,ASP or any other.
:-(
Khalid
Da Warriah
12-31-2002, 11:27 AM
if PHP is enabled on your server, heres a quick way to get the IP:
<?php echo $REMOTE_ADDR; ?>