PHP: Changing referer with header() -
my cms links other sites convenience , i'd hide referer other sites don't see directory , query string of cms. have cms linking php file elswhere on server in turn redirects link via header() referer still cms, not linking php. furthermore...
header("referer: nowhere"); header("location: $_request[urltolinkto]");
... doesn't appear change anything. no matter put referer, it's 1 cms user clicked on link.
can referer changed (to linking php), or have use javascript or meta refresh?
the referer
header browser sends server. changing respose server browser, not work way (unlike cookie header). far know have no server-side control of browser's behavior on sending referer.
Comments
Post a Comment