11
Honestly, I’m in tremendous doubt right now. I just gave that answer here at stackoverflow:
In this answer, I teach that, to refer to the previous page, we should use the variable $_SERVER['HTTP_REFERER']
. I even did tests before, because as usual I always wonder if it is with one or two letters R
;
My confusion increased when I came across this in the Javascript
:
document.referrer; // What? Com dois R?
And I know that the two things, both PHP and Javascript, serve to refer to the previous page.
So, confused, I’d like to know: The right is rightRer or refRRer (with one or two R)?
Before judging as out of scope, it is important to at least know the difference between one and the other (if it is not some kind of mistake, of course).;
– Wallace Maxters
I find it a very valid doubt, I myself had never noticed the spelling error.
– Guilherme Nascimento