Doesn’t work
The script at: [url]http://javascript.internet.com/user-details/ip-address.html
but the script offered doesn’t work when copied.
The pop-up displays: /! Your IP address is <!–#echo var=”REMOTE_ADDR”–>
The source code has my IP address INSTEAD of the generating echo code! not HOW it was fetched. sounds like php…
var ipAddress = <!–#echo var=”REMOTE_ADDR” –>;
returns: /! Your IP address is undefined …Getting closer…
I have tried this script mounted on a web page, not just on my computer.
PHP: if mounted on a web site as *.php it returns: “syntax error”
How do I ‘define’ the IP address or write this into a web page as php script?
Can someone correct this? what is the complete correct code?
using Firefox 2.0 or Seamonkey1.1, SUSE Linux.