bdragon
04-09-2002, 06:45 PM
I don't know if this is the right place, but this involves IE (specifically).
I'm developing an info page. Under Netscape, the system hostname shows up correctly, but I can't find the correct system variable for IE.
Here is the code I am trying to run:
document.form.ip.value = '<!--#echo var="REMOTE_ADDR"-->';
document.form.host.value = '<!--#echo var="REMOTE_LOCALHOST"-->';
The REMOTE_ADDR returns the IP, but LOCALHOST returns nothing.
Anyone have any ideas, or where I can go to find this info?
I'm developing an info page. Under Netscape, the system hostname shows up correctly, but I can't find the correct system variable for IE.
Here is the code I am trying to run:
document.form.ip.value = '<!--#echo var="REMOTE_ADDR"-->';
document.form.host.value = '<!--#echo var="REMOTE_LOCALHOST"-->';
The REMOTE_ADDR returns the IP, but LOCALHOST returns nothing.
Anyone have any ideas, or where I can go to find this info?