监控网站访问者的IP [英] monitoring IP's of visitors to website

查看:85
本文介绍了监控网站访问者的IP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨大家好,有没有一种简单的方法可以在没有CGI的情况下记录IP?

我需要将访问者的IP记录到我运行的网站上。

我曾经有一个CGI脚本,但服务器上没有CGI我现在正在使用



谢谢。

Hi folks, Is there a simple way to log IP''s without CGI?
I need to log the IP''s of the visitors to a website I run.
I used to have a CGI script but there''s no CGI on the server I''m using
now.
Thanks.

推荐答案

nm **** @ hotmail.com 在2006年7月28日下午2:13说下面的内容:
nm****@hotmail.com said the following on 7/28/2006 2:13 PM:

嗨大家好,有没有一种简单的方法来记录没有CGI的IP?
Hi folks, Is there a simple way to log IP''s without CGI?



不,你甚至不能用CGI脚本可靠地做到这一点。

No, and you can''t even do it reliably with a CGI script.


I需要记录我运行的网站的访问者的IP。
I need to log the IP''s of the visitors to a website I run.



你运气不好。

You are out of luck.


我曾经有一个CGI脚本但是有服务器上没有CGI我现在正在使用


I used to have a CGI script but there''s no CGI on the server I''m using
now.



无论如何,CGI脚本都是不可靠的。


-

Randy

comp.lang.javascript常见问题 - http: //jibbering.com/faq &新闻组每周

Javascript最佳实践 - http://www.JavascriptToolbox .com / bestpractices /

It''s all the same as the CGI script wasn''t reliable anyway.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/


nm **** @ hotmail。 com 写道:
nm****@hotmail.com wrote:

嗨大家好,有没有一种简单的方法来记录没有CGI的IP?
Hi folks, Is there a simple way to log IP''s without CGI?



大多数网络服务器都内置了日志工具。请求

来自的IP地址通常是日志条目的一部分。

Most webservers have built in logging facilities. The ip address the request
came from is normally part of the log entry.


我需要记录IP的'访问我运行的网站的访问者。
I need to log the IP''s of the visitors to a website I run.



请求来自的IP地址可能不是访问者的因为

代理服务器阻碍了我(例如,我认为AOL通过一系列旋转透明代理运行所有客户的b $ b。)


客户端JavaScript没有直接访问IP地址(是的,

复数,我的笔记本电脑经常有三个,这台机器有两个,一次我经常

使用了一台有七个ip地址的客户机。


-

David Dorward< http://blog.dorward.me .uk /< http://dorward.me.uk/>

首页是〜/ .bashrc的位置

The IP address the request came from might not be "the visitor''s" since
proxy servers get in the way (I gather that AOL, for instance, runs all
their customers through a series of rotating transparent proxies).

Client side JavaScript has no direct access to the IP addresses (yes,
plural, my laptop often has three, this machine has two, once I regularly
used a machine with seven ip addresses) of the client.

--
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/>
Home is where the ~/.bashrc is


David Dorward在2006年7月28日下午4:17说了以下内容:
David Dorward said the following on 7/28/2006 4:17 PM:

(例如,我认为AOL运行所有

他们的客户通过一系列旋转透明代理)。
(I gather that AOL, for instance, runs all
their customers through a series of rotating transparent proxies).



是的,这就是AOL分配代理的方式。即使您有宽带连接并通过网络连接,它仍然会为您作为AOL用户分配动态IP

地址。你还有你的宽带IP,但是你也可以获得AOL IP。

-

Randy

comp.lang.javascript常见问题 - http://jibbering.com/faq &新闻组每周

Javascript最佳实践 - http://www.JavascriptToolbox .com / bestpractices /

Yes, that is how AOL assigns proxies. Even if you have a broadband
connection and connect via the web, it still assigns a dynamic IP
Address to you as an AOL user. You still have your broadband IP but you
gain an AOL IP as well.
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/


这篇关于监控网站访问者的IP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆