master82 Posted April 8, 2007 Share Posted April 8, 2007 Im currently looking for a php script that i can use that will allow me to parse data from my sql database into a safe output. I have searched around and found basic ones, such as text formatting, but what I require is a way to provide images, flash, music etc WHILE sanatising the data to get rid of security holes (XSS or what ever it is). Does anyone know where I can obtain one? (I could try to code one myself, but my current time is limited ) Quote Link to comment https://forums.phpfreaks.com/topic/46137-bbcode-parser/ Share on other sites More sharing options...
wildteen88 Posted April 8, 2007 Share Posted April 8, 2007 If you are looking for a pre-built bbcode parser then look at this code snippet If you want to have flash/music support as well you will need to add in some extra regex patterns for these. Quote Link to comment https://forums.phpfreaks.com/topic/46137-bbcode-parser/#findComment-224333 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.