Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #4857
| From | "M. Strobel" <sorry_no_mail_here@nowhere.dee> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense |
| Date | 2012-02-17 18:19 +0100 |
| Message-ID | <9q7ghoFbmU1@mid.uni-berlin.de> (permalink) |
| References | (7 earlier) <jhivu3$jir$1@news.albasani.net> <4f3d0fa2$0$32589$a8266bb1@newsreader.readnews.com> <jhjb3o$g6e$1@news.albasani.net> <9q4r4dFjk6U1@mid.uni-berlin.de> <f2a724d0-46ac-4dd7-a914-9aa8585d93bd@he5g2000vbb.googlegroups.com> |
Am 17.02.2012 12:25, schrieb Captain Paralytic: > On Feb 16, 5:02 pm, "M. Strobel" <sorry_no_mail_h...@nowhere.dee> > wrote: >> Am 16.02.2012 17:32, schrieb Thomas Mlynarczyk: >> >>> Denis McMahon schrieb: >>>> On Thu, 16 Feb 2012 14:22:08 +0100, Thomas Mlynarczyk wrote: >> >>>>> On the other hand I seriously question the concept of a server side >>>>> locale in the context of the world wide web. If locale must be, then it >>>>> ought to be the client's locale. >> >>>> Perhaps, but that just means you should use the client's locale when validating >>>> things like dates and numbers on the server. Of course this assumes you know the >>>> client's locale. >> >>> True. The only reliable way to do this would be to simply ask the client and then >>> maybe store their locale in a cookie. My point was that any "server locale" is >>> completely useless since there is in general no reliable correlation between the >>> server's and the client's location. >> >> ---cut >> >>> Greetings, >>> Thomas >> >> That's a good point, the question about the client side locale seems to be unsolved, >> but not discussed very often. You could use the HTTP Accept-Language header, but I >> did not see it mentioned very often in the web. > > How does Language help with Locale? > > When I am VPNed into a server that is located in Belgium, Google keeps > asking me if I want to switch the google I am using. I am still in the > UK and I still want English, but the IP address from which my request > is coming is still a Belgium one. > > When I am remoted into an actual machine that is in Belgium, the > language of the machine is set to French, but I am in the UK. > When you are walking the street in France you must be prepared to be addressed in French. When you are on a french server you must read the french messages. But anyway, we are talking about client locale in HTTP and HTML, you are talking about remote logins. /Str.
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
FILTER_SANITIZE_NUMBER_FLOAT non/sense "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-02-15 19:57 +0100
Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense Michael Fesser <netizen@gmx.de> - 2012-02-15 21:05 +0100
Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-02-15 22:48 +0100
Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense Michael Fesser <netizen@gmx.de> - 2012-02-15 23:48 +0100
Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2012-02-16 12:53 +0100
Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-02-16 13:34 +0100
Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense Captain Paralytic <paul_lautman@yahoo.com> - 2012-02-16 04:46 -0800
Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense Michael Fesser <netizen@gmx.de> - 2012-02-16 13:49 +0100
Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2012-02-16 14:22 +0100
Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense Denis McMahon <denismfmcmahon@gmail.com> - 2012-02-16 14:16 +0000
Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense "Peter H. Coffin" <hellsop@ninehells.com> - 2012-02-16 09:36 -0600
Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2012-02-16 17:38 +0100
Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2012-02-16 17:32 +0100
Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-02-16 18:02 +0100
Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense Captain Paralytic <paul_lautman@yahoo.com> - 2012-02-17 03:25 -0800
Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-02-17 18:19 +0100
Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense Captain Paralytic <paul_lautman@yahoo.com> - 2012-02-20 04:31 -0800
Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense Michael Fesser <netizen@gmx.de> - 2012-02-17 20:35 +0100
Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense Erwin Moller <erwinmollerusenet@xs4all.nl> - 2012-02-20 10:46 +0100
csiph-web