Re: checking user input of MM-DD-YYYY
| From: | Per Jessen | Date: | Tue, 15 Jan 2008 15:55:34 +0000 |
| Subject: | Re: checking user input of MM-DD-YYYY | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-267302@lists.php.net to get a copy of this message | ||
Daniel Brown wrote:
> By only doing JavaScript validation,
Just in case - I wasn't suggesting only doing javascript validation. I
think I said a simple javascript validation _followed_ (as in at
POST-time) by a semantic check. For which checkdate() seems pretty
optimal.
/Per Jessen, Zürich