thank you for your answer, I now understand why just HTML & JavaScript will not work.
The web server I am on runs FreeBSD with php (v. 4.4.6) and Apache (v. 1.3.37), Virtual Directory Support -...
Thanks a lot, Stephen, for pointing me in the right direction!
Place the following code anywhere in a *.php web page and the public IP number appears like magic
<?php echo $_SERVER["REMOTE_ADDR"]...
Doesn't work
The script at: http://javascript.internet.com/user-details/ip-address.html works THERE,
but the script offered doesn't work when copied.
The pop-up displays: /!\ Your IP address is...
The script at: http://javascript.internet.com/user-details/ip-address.html works THERE,
but the script offered doesn't work when copied.
The pop-up displays: /!\ Your IP address is <!--#echo...