Re: Form Textarea question
by "Art Zoller Wagner" <art(at)zollerwagner.com>
|
Date: |
Tue, 18 Feb 2003 00:09:07 -0500 |
To: |
"Beauford.2002" <beauford.2002(at)rogers.com> |
Cc: |
"HWG Basics" <hwg-basics(at)hwg.org> |
References: |
p1 markone p12 markone2 p13 |
|
todo: View
Thread,
Original
|
|
Try adjusting the php.
I use these functions to prepare for a mysql db entry of message text.
$text = trim(stripslashes($text));
return htmlentities($text,ENT_QUOTES);
In addition, I remove "dangerous" char, trim to a max length, and check for
a minimum length.
I also do different processing depending on whether it's being feed into a
db or email.
Let us know if something like that works.
Art
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA