Log in

View Full Version : Fine Tuning help please


amykhar
10-15-2001, 02:32 PM
I have a hack that replaces the usual post reply template with a custom reply form. The custom form is divided into inputs for:

URL
Title
Product
Message

My problem is that some people are trying to enter VBB code in the title field. This looks fine in the message, but looks awfully stupid on my main page where it is also displayed. How can I strip VBB code out of a string?

Amy

Bender
10-16-2001, 09:55 AM
I know there is a php function that strips html tags out of a string, but to strip bb-codes .... that would need a custom function .. any php guru? :D