...

View Full Version : disabling html in form textarea



harlequin2k5
04-05-2007, 03:22 AM
I have a guestbook page and I've added a captcha to it but there's been at least 1 instance where someone took the time to send some spam anyway

the comment was "nice site" with a link - is there a way I can stop someone from putting html in the textarea?

iLLin
04-05-2007, 04:25 AM
http://us3.php.net/manual/en/function.htmlentities.php

Nightfire
04-05-2007, 09:24 AM
or you can also use strip_tags() (http://php.net/strip_tags)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum