Set referrer with php header( 'Location: ')
Is there a way to fak开发者_运维知识库e referrer with header( 'Location: ') command ?
Why, yes of course. You can set any header you like using the header()
function, including Referrer. It's not really fake though - there is no rule that says you have to include a referrer header, or that you must provide truthful information in it. It's just sometimes useful.
精彩评论