I have been validating textareas using ctype_print; however, I am starting to get user errors. It¹s amazing how many people cut and paste from MS Word. So what appears to be simple text and a reasonably valid string actually contains stuff that ctype_print does not like.
Does anyone use this function? Any better ideas for validating general text areas? Just use the php filter function sanitizing control characters? Other ideas for validation and dealing with cut n paste user input?
_______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php
