note 103851 added to function.checkdate
| From: | Anonymous at osu1 dot php dot net | Date: | Fri, 06 May 2011 16:58:31 +0000 |
| Subject: | note 103851 added to function.checkdate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-179501@lists.php.net to get a copy of this message | ||
@Anonymous (13-Jul-2009 07:06)
The 'problem' you mention is not with checkdate but with preg_split: you're using it
the wrong way.
If you also check the original string to be 10 characters long, you have your full validation.
----
Server IP: 69.147.83.197
Probable Submitter: 190.51.118.193
----
Manual Page -- http://www.php.net/manual/en/function.checkdate.php
Edit -- https://master.php.net/note/edit/103851
Del: integrated -- https://master.php.net/note/delete/103851/integrated
Del: useless -- https://master.php.net/note/delete/103851/useless
Del: bad code -- https://master.php.net/note/delete/103851/bad+code
Del: spam -- https://master.php.net/note/delete/103851/spam
Del: non-english -- https://master.php.net/note/delete/103851/non-english
Del: in docs -- https://master.php.net/note/delete/103851/in+docs
Del: other reasons-- https://master.php.net/note/delete/103851
Reject -- https://master.php.net/note/reject/103851
Search -- https://master.php.net/manage/user-notes.php