[HTML or Javascript code to display IP?] -
HTML or Javascript code to display IP?
Discuss HTML or Javascript code to display IP?
Posted by: Shakie
I have tried all the "example codes" on the net that claim to do this, yet I can get none of them to work. Any idea's?
This seems to be the most popular version:
[CODE]
<script language="javascript">
var ip = '<!--#echo var "REMOTE_ADDR"-->';
document.write("Your IP address is " +ip+ "");
</script>
[/CODE]
... or a varient of that. (I was writing from memory)
I don't want a pop-up box. I can do that. I want it to show like in a signature or something. Any clues would be nice.
Posted by: Shakie
Since I was forced to take my sig that was linked down, I am desperate for this. I need a way to work around the CGI, Perl, and PHP requirement and use javascript and HTML.
Idea's?