Results 1 to 1 of 1
Thread: ebay style html text edit
Mar 31, 2007, 06:39 #1
- Join Date
- Nov 2006
- 0 Post(s)
- 0 Thread(s)
ebay style html text edit
I'm making a website for someone, and they only want to ever update the news section on their website. So what I've got is a very simple admin login script, with a form with a date selector and a text box so that news can be added, edited or deleted.
Obviously for security reasons I don't want any malicious html to be entered in here, but at the same time, I was simple html tags like paragraphs, lists, font styles, font colours to be available. A solution to this is to just use php to safely screen all potentially unsafe html tags, allowing simple html to be used to layout the news.
It doesn't have to be as complicated as the ebay one...in fact, just paragraphs, line breaks, lists, and font-weight, font-style and font-color.