You are here: Re: Numbers in forms, 0.5 vs .5 « PHP Programming Language « IT news, forums, messages
Re: Numbers in forms, 0.5 vs .5

Posted by Oli Filth on 09/16/05 15:34

rjames.clarke@gmail.com said the following on 16/09/2005 13:25:
> Hi all,
>
> I am (have) wrote an intranet industrial app that requires the user to
> enter a number which is compared to a high and low limit. If the low
> or high limits have a 0 in front of the decmial the entered value must
> also.
>
> The actual comparison is done in javascript as pasted below. If a
> return true is given then the data is written to the database.
>

Never rely on client-side validation alone, especially if you're then
putting the data into a database! Always validate server-side!

--
Oli

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация