I must be having a brain-cloud day.
Anyone have a quick way to take the value of a text area and strip out the bad characters?
Thanks, Brian JD
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On Wed, 3 Aug 2005, Jack wrote:
Anyone have a quick way to take the value of a text area and strip out the bad characters?
Depending on what you're going to do with it, in php escapeshellcmd(htmlentities(addslashes($_POST[text_area))) would be a good start.
Regards,
-Don
$value =~ s/\W/ /g
On 8/3/05, Don Erickson derick@zeni.net wrote:
On Wed, 3 Aug 2005, Jack wrote:
Anyone have a quick way to take the value of a text area and strip out the bad characters?
Depending on what you're going to do with it, in php escapeshellcmd(htmlentities(addslashes($_POST[text_area))) would be a good start.
Regards,
-Don _______________________________________________ Kclug mailing list Kclug@kclug.org http://kclug.org/mailman/listinfo/kclug