bruno
09-23-2004, 06:58 PM
Hi!
how can i get the IP adress of a visiting user to my website?
'til now i've got this lines of code, but it doesn't work :[
-------------------------------------------
var ip ='<!--#echo var="REMOTE_ADDR"-->';
alert("Hello "+ip);
-------------------------------------------
the output is: Hello <!--#echo var="REMOTE_ADDR"--> . Can anyone speak up for me what's happening since i'm a newbbie in this javascipting thing?
thanks in advance.
Bruno. :thumbsup:
how can i get the IP adress of a visiting user to my website?
'til now i've got this lines of code, but it doesn't work :[
-------------------------------------------
var ip ='<!--#echo var="REMOTE_ADDR"-->';
alert("Hello "+ip);
-------------------------------------------
the output is: Hello <!--#echo var="REMOTE_ADDR"--> . Can anyone speak up for me what's happening since i'm a newbbie in this javascipting thing?
thanks in advance.
Bruno. :thumbsup: