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

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -

delphi - How to convert bitmaps to video? -