如何知道你来自哪里? [英] How to know from where you come?

查看:66
本文介绍了如何知道你来自哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好吧


我有一点问题(对你而言)对我来说是不可能的任务。


我有两个网站


第一个网站获得了第2个链接。和2th.web网站包含第一个

的链接。


我有一个log1.txt和一个log2.txt来控制访问。


我想要从他们的访客那里写信给他们。


如果访客来自第一个网站,请点击我要写入的链接

来自我的第一个网站的访客来自第2个网站的日志。


有可能吗?


提前感谢并向所有人致以最诚挚的问候。

Hi at all

I have a little problem (for you) that for me is a mission impossible.

I have two web site

The first site conain a link to the 2th. and 2th.web site contain a link to
the first.

I have a log1.txt an a log2.txt to control access.

I''ld want writeINTO THEM FROM WHERE VISITOR COME.

If visitor come from first web site clicking the link I want to write into
the log that visitors come from my first web site amd so on with the 2th.

Is it possible?

Thank in advance and best regards to all.

推荐答案

Pablo写道:
Pablo wrote:

可能吗?
Is it possible?



是。


对HTTP推荐人做一些研究。


- -

----------------------------------

IvánSánchezOrtega-ivansanchez-algarroba-escomposlinux-punto-org-

如果你每天都学到一件无用的东西,一年之内你会学到

365无用的东西。

Yes.

Do some research on HTTP referrers.

--
----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-

If you learn one useless thing every day, in a single year you''ll learn
365 useless things.


.. oO(IvánSánchezOrtega)
..oO(Iván Sánchez Ortega)

> Pablo写道:
>Pablo wrote:

>有可能吗?
>Is it possible?


是的。

对HTTP引用进行一些研究。


Yes.

Do some research on HTTP referrers.



以及它们有多不可靠。 URL参数怎么样?

网站1上的
:< a href =" http://site2.example.com?ref = site1"> site 2< / a>
站点2上的
:< a href =" http://site1.example.com?ref = site2"> site 1< / a>


Micha

And on how unreliable they are. What about URL parameters?

on site 1: <a href="http://site2.example.com?ref=site1">site 2</a>
on site 2: <a href="http://site1.example.com?ref=site2">site 1</a>

Micha


Michael Fesser写道:
Michael Fesser wrote:

>> ;对HTTP引用进行一些研究。
>>Do some research on HTTP referrers.



以及它们有多不可靠。 URL参数怎么样?


And on how unreliable they are. What about URL parameters?



不可靠?


-

-------- --------------------------
$ b $bIvánSánchezOrtega-ivansanchez-algarroba-escomposlinux-punto-org-


所有历史写作的墨水只是流畅的偏见。

- 马克吐温

Unreliable as well?

--
----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-

The very ink with which all history is written is merely fluid prejudice.
-- Mark Twain


这篇关于如何知道你来自哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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