Show user's IP Address

Submitted by:Andery Smith

Date added:09 July, 2013

Category:JavaScript

Show user's IP Address using a few lines of code, Place the code where you want the IP address to appear:

Tags: show ip

Code Snippet:

<SCRIPT LANGUAGE="JavaScript">
var ip = '<!--#echo var="REMOTE_ADDR"-->';
document.write("Your IP address is" + ip);
</script>
 
 

Comments