Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense [message #177020 is a reply to message #177019] |
Thu, 16 February 2012 14:16 |
Denis McMahon
Messages: 634 Registered: September 2010
Karma:
|
Senior Member |
|
|
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.
You still need to do your validation server side. You can't trust client
side validation.
(Jerry may be posting a similar comment as I write this)
Rgds
Denis McMahon
|
|
|