FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » FILTER_SANITIZE_NUMBER_FLOAT non/sense
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense [message #177091 is a reply to message #177040] Mon, 20 February 2012 12:31 Go to previous messageGo to previous message
Captain Paralytic is currently offline  Captain Paralytic
Messages: 204
Registered: September 2010
Karma:
Senior Member
On Feb 17, 5:19 pm, "M. Strobel" <sorry_no_mail_h...@nowhere.dee>
wrote:
> 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.
No, I am talking about client locale. The client I am using is located
in the UK. The ip address that sites see is in Belgium. If sites make
an assumption that the client request that is presenting an IP address
that is based in Belgium requires them to address a user using Belgium
conventions, then they are wrong.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to start external PHP file from HTML?
Next Topic: DOMDocument HTML problem
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 04:03:15 GMT 2024

Total time taken to generate the page: 0.04560 seconds