Re: [PHP] [PHP or maybe JavaScript or CSS] protecting my PHP from bad input

2003-11-19 Thread Eugene Lee
On Wed, Nov 19, 2003 at 10:21:16AM +0100, Miroslav I. wrote: : : I'm familiar with the concepts, but I've seen sites with textboxes : that would not show any letter typed - only numbers are displayed in : the textbox. This is what I like but don't know how to achieve. :-) Base on what I mentione

Re: [PHP] [PHP or maybe JavaScript or CSS] protecting my PHP from bad input

2003-11-19 Thread Miroslav I.
Thanks Eugen, I'm familiar with the concepts, but I've seen sites with textboxes that would not show any letter typed - only numbers are displayed in the textbox. This is what I like but don't know how to achieve. :-) > : #The problem: > : This is about protecting my PHP from bad input (e.g.: le

Re: [PHP] [PHP or maybe JavaScript or CSS] protecting my PHP from bad input

2003-11-19 Thread Eugene Lee
On Wed, Nov 19, 2003 at 08:18:32AM +0100, Miroslav I. wrote: : : #The problem: : This is about protecting my PHP from bad input (e.g.: letters instead : of numbers). Good idea. You need to make sure user-inputted data is valid. : ## : Is there a way to prevent user from even inputting a letter