[thelist] Using PHP to let folks add comments

Tony Crockford tonyc at boldfish.co.uk
Mon Sep 15 02:22:29 CDT 2003


On Sun, 14 Sep 2003 21:57:08 +0100, Simon Willison <cs1spw at bath.ac.uk> 
wrote:

> You might find my SafeHTMLChecker class interesting - it uses an XML 
> parser to check that submitted comments are valid XHTML and that they 
> don't contain "dangerous" tags or attributes. I've been using it on my 
> blog for 6 months and it seems to have done a pretty good job:
>
> http://simon.incutio.com/archive/2003/02/23/safeHtmlChecker

when I visited that link in Opera 7.2 I got a javascript alert "maybe this 
works" so maybe it doesn't?

;o)

Tony


-- 
http://www.xebit.net/

Sent with M2, Opera's revolutionary e-mail client:
https://secure.bmtmicro.com/opera/buy-opera.html?AID=627923


More information about the thelist mailing list