开发者

Blanking referer for Firefox using PHP

开发者 https://www.devze.com 2023-02-15 03:59 出处:网络
I have a code which should blank a referer: 开发者_Python百科header(\'Referer: \', true); header(\'Location: http://example.com/\');

I have a code which should blank a referer:

开发者_Python百科header('Referer: ', true);
header('Location: http://example.com/');

However it shows it....


The referrer is set by the browser. You cannot control that on the server side. You would need to create a browser plugin to spoof the referrer.

0

精彩评论

暂无评论...
验证码 换一张
取 消