Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks


Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Tuesday, June 18 2013 @ 01:13 AM EDT

> >

safeHtmlChecker.class

Security
  • Friday, February 28 2003 @ 06:12 PM EST
  • Contributed by:
  • Views:
    3,509

Anyone who's paranoid about HTML in user comments, cross-site scripting attacks, or even just me coming along and covering up your site logo with nasty images should look at Simon Willison's SafeHtmlChecker php class. Elegant solution (and it'll help with XHTML validation too).

The following comments are owned by whomever posted them. This site is not responsible for what they say.

Post a Comment

Your Name
Create Account
Allowed HTML Tags:
 

Security code
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

What code is in the image?
Enter the bolded text, case sensitive!
Important Stuff
  • Please try to keep posts on topic.
  • Try to reply to other people comments instead of starting new threads.
  • Read other people's messages before posting your own to avoid simply duplicating what has already been said.
  • Use a clear subject that describes what your message is about.
  • Your email address will NOT be made public.