Gossamer Forum
Home : Products : DBMan : Customization :

Stop HTML in Submissions

Quote Reply
Stop HTML in Submissions
Can anyone help me with making DBMAN so that it will not accept any html when people add records. I run a member community and I want to prevent people from placing html in anything they submit to the database. In other words, anything placed in between < and > would not be accepted.
Quote Reply
Re: Stop HTML in Submissions In reply to
Use regular expression statements in your validate_records sub-routine to disallow HTML. (For information on regular expressions, search perl.com).

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------