Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #4838
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.42!gegeweb.eu!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | "Peter H. Coffin" <hellsop@ninehells.com> |
| Newsgroups | comp.lang.php |
| Subject | Re: FILTER_SANITIZE_NUMBER_FLOAT non/sense |
| Date | Thu, 16 Feb 2012 09:36:52 -0600 |
| Organization | A noiseless patient Spider |
| Lines | 22 |
| Message-ID | <slrnjjq8kk.am0.hellsop@nibelheim.ninehells.com> (permalink) |
| References | <9q2dgcF68gU1@mid.uni-berlin.de> <rm3oj7lcbcbq6etokmsbujtu3ildgroist@mfesser.de> <9q2nhnFl6dU1@mid.uni-berlin.de> <j5doj7dtjdnhs69eog1bjn6u0lkk4ieiv3@mfesser.de> <jhiqnn$7o2$1@news.albasani.net> <9q4beaFqhfU1@mid.uni-berlin.de> <3cupj796vq2ptd3g2jv5l0lnv9d0vhfu1r@mfesser.de> <jhivu3$jir$1@news.albasani.net> <4f3d0fa2$0$32589$a8266bb1@newsreader.readnews.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| Injection-Info | mx04.eternal-september.org; posting-host="le/2G4+BNpieVhQI6uJ2Lw"; logging-data="7880"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1SbOmczVN5px//ziKfKaH" |
| User-Agent | slrn/0.9.9p1 (OpenBSD) |
| Cancel-Lock | sha1:N1g0A+3F5bDF3sFGV4/MKOlW8iA= |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.php:4838 |
Show key headers only | View raw
On 16 Feb 2012 14:16:02 GMT, Denis McMahon wrote: > 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. which client? And how would PHP know if by "client", you mean the far end of an http connection? > You still need to do your validation server side. You can't trust client > side validation. very true. -- 34. I will not turn into a snake. It never helps. --Peter Anspach's list of things to do as an Evil Overlord
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