CodeIgniter Forums
Referer/Referrer - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter Archived (from EllisLab) (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Referer/Referrer (/thread-10479.html)



Referer/Referrer - El Forum - 08-01-2008

[eluser]Spiked[/eluser]
The Useragent class has a function named "referrer()", but the official HTTP term is "referer".

Quote:Referer

A misspelling of "referrer" which somehow made it into the HTTP standard. A given web page's referer (sic) is the URL of whatever web page contains the link that the user followed to the current page. Most browsers pass this information as part of a request.

http://dictionary.reference.com/browse/referer

This could confuse some people. I just searched in the docs for 'referer' and found nothing (not even referrer). Maybe an idea to at least note this, or make an alias function?