Obtain IP address

Sometimes showing viewers there own IP address can deter malicious intent,

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

 

Leave a Reply