Jump to content


Photo

trivia strictly for knowledge


  • Please log in to reply
4 replies to this topic

#1 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 18 April 2006 - 01:47 AM

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_REFERER
the actual true spelling is
HTTP_REFERRER
but you have to use it as referer, I read in hudzilla.com that it was a mispelling, very fascinating.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#2 magnav0x

magnav0x
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 18 April 2006 - 02:51 AM

[!--quoteo(post=365820:date=Apr 17 2006, 08:47 PM:name=businessman332211)--][div class=\'quotetop\']QUOTE(businessman332211 @ Apr 17 2006, 08:47 PM) View Post[/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_REFERER
the actual true spelling is
HTTP_REFERRER
but 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 ;)

#3 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 18 April 2006 - 03:04 AM

are there any other mispelled words in programming languages.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#4 ypirc

ypirc
  • Members
  • PipPipPip
  • Advanced Member
  • 54 posts

Posted 18 April 2006 - 05:28 AM

[a href=\"http://en.wikipedia.org/wiki/Referer\" target=\"_blank\"]http://en.wikipedia.org/wiki/Referer[/a]

#5 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 18 April 2006 - 05:31 AM

thanks for clearing that up.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users