php-db | 2001041
Date: 04/05/01
- Next message: Steve Farmer: "[PHP-DB] OT - Domain Registrars"
- Previous message: Phil Jackson: "Re: [PHP-DB] mysql_result()"
- Next in thread: Steve Farmer: "Re: [PHP-DB] Forms : Validating user input is integer"
- Reply: Steve Farmer: "Re: [PHP-DB] Forms : Validating user input is integer"
- Reply: Boclair: "Re: [PHP-DB] Forms : Validating user input is integer"
- Maybe reply: boclair: "Re: [PHP-DB] Forms : Validating user input is integer"
- Reply: Ben Udall: "Re: [PHP-DB] Forms : Validating user input is integer"
- Reply: Boclair: "Re: [PHP-DB] Forms : Validating user input is integer"
- Reply: Manuel Lemos: "Re: [PHP-DB] Forms : Validating user input is integer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have a problem with a user input in a form required to be an
integer, creating a variable for a mysql query.
I have instances where integer, 0, is being typed as letter,o.
The last discussion of validating the input was
http://marc.theaimsgroup.com/?l=php-db&m=97207172003983&w=2
There it was suggested that the only way to validate the input was
using javascript. I have a case where clients have disabled
javascript.
I tried fiddling with is_int($input) but of cause it does not serve
this purpose.
Does anybody know if such validation can be done server side or
definitely must be done client side?
Tim Morris
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Steve Farmer: "[PHP-DB] OT - Domain Registrars"
- Previous message: Phil Jackson: "Re: [PHP-DB] mysql_result()"
- Next in thread: Steve Farmer: "Re: [PHP-DB] Forms : Validating user input is integer"
- Reply: Steve Farmer: "Re: [PHP-DB] Forms : Validating user input is integer"
- Reply: Boclair: "Re: [PHP-DB] Forms : Validating user input is integer"
- Maybe reply: boclair: "Re: [PHP-DB] Forms : Validating user input is integer"
- Reply: Ben Udall: "Re: [PHP-DB] Forms : Validating user input is integer"
- Reply: Boclair: "Re: [PHP-DB] Forms : Validating user input is integer"
- Reply: Manuel Lemos: "Re: [PHP-DB] Forms : Validating user input is integer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

