Notice:
This is a script I wrote quite a while ago. It is not supported,
but I left it here in case it might be useful to someone.
Please visit http://www.mattkruse.com/
for my updated web site
and to find some of the things I've done more recently. Hopefully you will find
something useful, or at least mildly interesting!
|
Comments Script
I wrote this script so anyone could easily add a
comments page to their pages. Lots of people want a place where people
can post their thoughts, but most of them don't really know how to do
it. That's why I wrote this script.
What makes it so easy? Well, the script does all the
work. You load it into the directory you want, and just load up the
script with your browser. You'll find an option to create the comments
page. Do this, and it will output the page and you're off. The page is
ready to run and fully-functional.
But the best part is how easy it is to maintain the
page. Highlights include:
- Change your owner password on-line.
- Delete any comments containing a certain string
- Delete any comments that were posted before a certain date (so you
can keep your page current every week or so).
- Automatically checks for HTML markup in user's comments and tells
them that it isn't allowed (which means no one posting in all HEADERS)
- Won't allow posts containing any "bad" words in the list.
- Ability to change the bad word list on-line through the browser.
Check out the links if you want to see what this
script does:
-
- Here's an example page you can play with. Enter a comment for yourself
and do whatever you want.
-
- Here's the source code!