Using a form for users to type their details into a text area (with tiny_mce), works fine BUT when they copy n paste from M$ Word all those unwanted tags end up in the database.
How do I strip it out BEFORE it ends up in the database?
henry0
12:09 pm on Apr 5, 2008 (gmt 0)
Sorry, I do not have the answer I have been for years searching all over the place for a function that does it. it seems that only a hand full of coders have tried to tackle this task. But none really has a 100% working solution. hope someone has the answer...
<edit> Just found a new class from phpclasses.org I will try using it later check it out [phpclasses.org] </edit>
[edited by: henry0 at 12:24 pm (utc) on April 5, 2008]
Amardeep
12:15 pm on Apr 5, 2008 (gmt 0)
Sorry, I do not have the answer. But somebody really have known 100% working solution.
henry0
12:37 pm on Apr 5, 2008 (gmt 0)
Just had a quick look at it, it seems very well done, It would be great if few php WebmasterWorld members could give it a run and report.