Timeline for Language-detection PHP script
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 25, 2014 at 19:34 | history | edited | Jamal | CC BY-SA 3.0 |
edited title
|
Mar 25, 2014 at 12:35 | history | edited | 200_success |
edited tags
|
|
Dec 15, 2013 at 3:38 | history | edited | Jamal | CC BY-SA 3.0 |
deleted 119 characters in body; edited title
|
Feb 19, 2012 at 12:55 | history | migrated | from stackoverflow.com (revisions) | ||
Feb 18, 2012 at 17:38 | vote | accept | CommunityBot | ||
Sep 10, 2011 at 14:49 | comment | added | Marcus | @Col Okey, my mistake there. It relies on the $_SERVER var if the user has not made any input, which might be the case the first time he/she enters the site. But THIS code does not prevent someone to tamper with the sent value. Anyway, since he has a script later on that validates the lang it's no problem. | |
Sep 10, 2011 at 14:40 | comment | added | Col. Shrapnel | @Marcus THIS code does not solely relies on this header but rather on users choice. What's the problem then? | |
Sep 10, 2011 at 14:33 | comment | added | Marcus | @Col. Shrapnel If you solely rely on something that might not be set, or set to a value not desired by the user, it might not get the desired result in some cases? | |
Sep 10, 2011 at 14:25 | comment | added | Col. Shrapnel | @Marcus so what? | |
Sep 10, 2011 at 14:24 | answer | added | PeeHaa | timeline score: 3 | |
Sep 10, 2011 at 14:23 | answer | added | Jon | timeline score: 6 | |
Sep 10, 2011 at 14:18 | comment | added | Marcus |
Beware of that $_SERVER['HTTP_ACCEPT_LANGUAGE'] might not be set.
|
|
Sep 10, 2011 at 14:10 | history | asked | Francisco Presencia | CC BY-SA 3.0 |