如何衡量访问者和我的网站之间的ping时间? [英] how to measure the ping time between the visitor and my website ??

查看:65
本文介绍了如何衡量访问者和我的网站之间的ping时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!


我想测量用户连接到我网站所需的时间。

换句话说,要执行ping操作我的网站和用户的

计算机。


我正在摸索着如何做到这一点。有没有人知道一个好方法

来实现这个目标?


非常感谢,


alexandre

hello !

I would like to measure the time a user needs to connect to my website.
In other words, to perform a ping between my website and the user''s
computer.

I''m scratching my head as to how i can do that. Does anyone know a good way
to make this happen?

thanks a lot,

alexandre

推荐答案

" Alexandre Plennevaux" <人******* @ lab-au.com>在消息中写道

news:3f *********************** @ news.skynet.be ...
"Alexandre Plennevaux" <al*******@lab-au.com> wrote in message
news:3f***********************@news.skynet.be...
你好!

我想测量用户连接到我网站所需的时间。
换句话说,在我的网站和用户之间执行ping操作s
电脑。

我正在摸索着如何做到这一点。有没有人知道一个好的
方式来实现这个目标?

非常感谢,

alexandre


在这里你go

< ;?
hello !

I would like to measure the time a user needs to connect to my website.
In other words, to perform a ping between my website and the user''s
computer.

I''m scratching my head as to how i can do that. Does anyone know a good way to make this happen?

thanks a lot,

alexandre

Here you go
<?


ip =


_SERVER [''REMOTE_ADDR''];
_SERVER[''REMOTE_ADDR''];


这篇关于如何衡量访问者和我的网站之间的ping时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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