ip address

IP Address

Often you may want to let the visitor know that you are aware of their IP address. You can do so using a few lines of code, as shown here. Place the code where you want the IP address to appear:

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