Re: form validataion?
| From: | J Smith | Date: | Wed, 08 Aug 2001 18:46:54 +0000 |
| Subject: | Re: form validataion? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-61890@lists.php.net to get a copy of this message | ||
The whole set of is_* functions are useful, like is_numeric() and
is_string() and such.
Regular expressions are also mega-useful if you want data to be in a very
specific format, like email addresses and such.
isset() is also a good function to call at the beginning of your validation
function or script just to make sure that if a variable is needed on a
page, it's been set properly on the form.
J
Kurth Bemis wrote:
> i want to do form validation server side...not client side......
>
> i'm wondering what programers use to validate form data.....if
> loops....arrays? what?
>
> ~kurth
>
>