Ninjakreborn Posted April 18, 2006 Share Posted April 18, 2006 I didn't realize this until today, but in php there is one superglobal in the whole language, that was a typo and people use it everyday and it is always mispelled, but they haven't changed it.HTTP_REFERERthe actual true spelling isHTTP_REFERRERbut you have to use it as referer, I read in hudzilla.com that it was a mispelling, very fascinating. Quote Link to comment Share on other sites More sharing options...
magnav0x Posted April 18, 2006 Share Posted April 18, 2006 [!--quoteo(post=365820:date=Apr 17 2006, 08:47 PM:name=businessman332211)--][div class=\'quotetop\']QUOTE(businessman332211 @ Apr 17 2006, 08:47 PM) [snapback]365820[/snapback][/div][div class=\'quotemain\'][!--quotec--]I didn't realize this until today, but in php there is one superglobal in the whole language, that was a typo and people use it everyday and it is always mispelled, but they haven't changed it.HTTP_REFERERthe actual true spelling isHTTP_REFERRERbut you have to use it as referer, I read in hudzilla.com that it was a mispelling, very fascinating.[/quote]Realized that when I first saw it.....but now after using it so long I mispell referrer all the freaking time. If they changed it back to what it should be I'd get syntax errors for a week before I got use to spelling it right ;) Quote Link to comment Share on other sites More sharing options...
Ninjakreborn Posted April 18, 2006 Author Share Posted April 18, 2006 are there any other mispelled words in programming languages. Quote Link to comment Share on other sites More sharing options...
ypirc Posted April 18, 2006 Share Posted April 18, 2006 [a href=\"http://en.wikipedia.org/wiki/Referer\" target=\"_blank\"]http://en.wikipedia.org/wiki/Referer[/a] Quote Link to comment Share on other sites More sharing options...
Ninjakreborn Posted April 18, 2006 Author Share Posted April 18, 2006 thanks for clearing that up. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.