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.
我不确定这是否可能。我想获取用户来自的网页网址以访问我网站上的页面。有没有可以为我找到该信息的功能?
$_SERVER['HTTP_REFERER']会给你这个价值,但它可能会被客户伪造或禁用。
$_SERVER['HTTP_REFERER']