Simple questions:
What is the fake HTTP_REFERER dangerous?
Will HTTP_REFERER work when using the https protocol?
I use it as follows: On the user profile page there are buttons for friendship (blocking, submit an application, accept as a friend, cancel an application, end a friendship ...). Friendship handler (script) after processing the button press RETURNED to this very user profile.
But, the buttons of friendship are also displayed in the LIST of friends, block, input the outcome of applications. That is, after pressing the button on the user display page (not on the professional user page), the friendship handler needs to be returned to the user display page (on the friends display page, blocked, the outcome of the hawks). Here I have a referrer and is returning to the desired page.
I actually somehow thought that this variable had already been removed from php (about a month without the Internet was). In not a fresh book, I found http_ref., But I still have not looked in the internet.
Variables that are passed to the referrer are hard-washed. there are only two numeric parameters:
1 What list to display (friends, block, entry, outcome of the application).
2 pairs - page number.
HTTP_REFERER? Do you use it in your code? - Visman