> fields so useres cant enter html or scripts, so boring
> would be nice if cfm had the ability to auto (invoke)
> something of that sort built in, would be a very nice
> security dity :)
Why not just write something reuseable to do that for you? ...
http://www.cflib.org/udf.cfm?ID=774
Granted, that function can be like using a howitzer to swat a fly if
you don't have fairly explicit or complex rules about what tags can
and can't be used in a given field. There are a couple others on
cflib:
http://www.cflib.org/udf.cfm?ID=56
http://www.cflib.org/udf.cfm?ID=434
http://www.cflib.org/udf.cfm?ID=12
That last one is the simplest of them -- created by the inimitable Ray
Camden. :)
Or more commonly, htmleditformat() all the output from content entered
in your database... unless you're wanting to allow certain tags... in
which case you can either use something like stripTags or you can
still use htmleditformat() and some variation of BBML.
Besides which -- the rules vary so much from one app to another, the
best Macromedia really can do is provide the tools for us to build our
own.
hth
s. isaac dealey 954.927.5117
new epoch : isn't it time for a change?
add features without fixtures with
the onTap open source framework
http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

