Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Visitor's IP address

0 views
Skip to first unread message

2007-User

unread,
Aug 30, 2006, 5:02:46 PM8/30/06
to
Hi,

I have created a webpage in "geocities.sbcglobal..." I need to know if there
is anyway to log my visitors information (like IP address,name, Etc.) in a
file.
I already have a script that gives me some information but I don't know how
to store these information in a file instead of having them on screen.

here is the script that I have:

<script language="JavaScript">
VIH_BackColor = "palegreen";
VIH_ForeColor = "navy";
VIH_FontPix = "16";
VIH_DisplayFormat = "You are visiting from:<br>IP Address: %%IP%%<br>Host:
%%HOST%%";
</script>
<script language="JavaScript" src=">


Thanks in advance


Anthony Jones

unread,
Aug 30, 2006, 5:22:41 PM8/30/06
to

"2007-User" <no-e...@noemail.com> wrote in message
news:eHeSdeHz...@TK2MSFTNGP03.phx.gbl...

Use Request.ServerVariables("REMOTE_ADDR")

note however that users on the other side of a NATing router or a proxy
server will all appear to have a common IP address.


2007-User

unread,
Aug 30, 2006, 6:20:29 PM8/30/06
to
Thanks Anthony,

But, as I am so new on this, could you send me an example to show me how I
can save these data to a txt file? (on my webpage)


Thanks again.

"Anthony Jones" <A...@yadayadayada.com> wrote in message
news:uboZupHz...@TK2MSFTNGP05.phx.gbl...

Anthony Jones

unread,
Aug 31, 2006, 3:21:15 AM8/31/06
to

"2007-User" <no-e...@noemail.com> wrote in message
news:OKlt4JI...@TK2MSFTNGP06.phx.gbl...

> Thanks Anthony,
>
> But, as I am so new on this, could you send me an example to show me how I
> can save these data to a txt file? (on my webpage)
>
>
> Thanks again.
>

Sorry I mis-read your OP. Where do you want to create this txt file, on the
Server or the Client?

0 new messages