Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
正如我所提到的,我想在谷歌搜索结果中点击我的网站之前得到谷歌搜索的确切内容
我的网站是 php
您想使用 HTTP_REFERER服务器变量来确定用户来自哪里:
$refererUrl = $_SERVER['HTTP_REFERER'];
您还可以使用Google Analytics之类的工具来为您执行跟踪。