Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #4841

Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense

From "M. Strobel" <sorry_no_mail_here@nowhere.dee>
Newsgroups comp.lang.php
Subject Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense
Date 2012-02-16 18:02 +0100
Message-ID <9q4r4dFjk6U1@mid.uni-berlin.de> (permalink)
References (5 earlier) <9q4beaFqhfU1@mid.uni-berlin.de> <3cupj796vq2ptd3g2jv5l0lnv9d0vhfu1r@mfesser.de> <jhivu3$jir$1@news.albasani.net> <4f3d0fa2$0$32589$a8266bb1@newsreader.readnews.com> <jhjb3o$g6e$1@news.albasani.net>

Show all headers | View raw


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.

/Str.

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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