How to use "UBB Code" in my own ASP programme

U

u0key.Lee

Recently , i make my own ASP pages, but i have a problem with "UBB
Code" , i want to know how to include "UBB Code" in my own ASP
programme ? Anyone who know this , please help me. Thank you
 
B

Bob Barrows [MVP]

Recently , i make my own ASP pages, but i have a problem with "UBB
Code" , i want to know how to include "UBB Code" in my own ASP
programme ? Anyone who know this , please help me. Thank you


I think you will need to clarify your intentions before anyone can respond
to this intelligently. What do you mean by "include 'UBB Code'"?
 
U

u0key.Lee

UBB Code is a conversion code from "html code" such as <a
href="www.xxx.com">xxx</a> to a safe form.
when i write a bbs programme ,i need to write it
 
M

Mike Brind

Bob said:
... and what do you want to do with it?

UBB (Ultimate Bulletin Boards) code is a set of pseudo-html tags used
on bulletin boards. If someone wanted to post a link within a message,
they do this:

xxx.

Clearly, somewhere within the code that manages the posted submission,
there is some process (Replace()/RegExp?) to convert this to a standard
html link. There are only a limited set of html tags that are included
in the "standard" set of UBB codes, so preventing users from posting
any html they like.

To uOkey - you shoud look at the Regular Expressions offered by
VBScript or JScript, depending on your preferred scripting language.
That would seem the easiest solution to your question.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top