Re: RES: [PHP-DB] input field validation
| From: | Ruprecht Helms | Date: | Tue, 03 Jun 2008 09:40:19 +0000 |
| Subject: | Re: RES: [PHP-DB] input field validation | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-45026@lists.php.net to get a copy of this message | ||
YVES SUCAET wrote:
> Nope, it's not. The problem was formulated as "Integer" detection. not
> numerical detection in general.
this must be able via preg_match
(http://de3.php.net/manual/en/function.preg-match.php)
using the regular expression /[1-9]/ possible [0] in addition.
Regards,
Ruprecht Helms
-------------------------------------------------------------
Ruprecht Helms IT-Service & Softwaredevelopment
allow your worktools be individual
Web: http://www.rheyn.de