toymachine22122
01-16-2004, 09:25 PM
Is there a way to log all IPs that visit your site to, say, a text file? To test, I tried:
var IP = '<!--#echo var="REMOTE_ADDR"-->'
if ( IP == My_IP_Would_Go_Here ) { alert('Works') }
else { alert('Something is messed up') }
But neither of the alerts came up.
Thanks
var IP = '<!--#echo var="REMOTE_ADDR"-->'
if ( IP == My_IP_Would_Go_Here ) { alert('Works') }
else { alert('Something is messed up') }
But neither of the alerts came up.
Thanks