[Phpwm] strtotime() date format

David Goodwin david at codepoets.co.uk
Wed Sep 19 13:46:47 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

alan dunn wrote:
> I agree with the thread saying tie down the input format so you don't
> have to deal with strange input. We use a  java dynamic calendar which
> pops up a calendar page and allows the user to select a date - try
> googling DynCalendar


I agree; but you can't trust the input from a user, and they may have
javascript turned off etc etc etc

Hence we display a js calendar widget ('stolen' from symfony) but still
have to check/read/validate the date on the back end.

David.
- --
David Goodwin

[ david at codepoets dot co dot uk ]
[ http://www.codepoets.co.uk       ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG8RoM/ISo3RF5V6YRArdTAJ9t3tL4aI7xziahn+wumG5hAr7A0ACeM16O
O9uLJ9EqHV7TjBgdAHawlpo=
=lIYR
-----END PGP SIGNATURE-----



More information about the Phpwm mailing list