[PHP] Re: HTML Character Parsing

2002-04-11 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Hi all, > > I have a textarea which will containg info from the user. This then > needs to be parsed through something like htmlspecialchars() or > htmlentities(). > > The issue is that my system really needs to do the following: > >

[PHP] Re: HTML Character Parsing

2002-04-11 Thread Julio Nobrega
I have this class, comes close to what you want. Feel free to modify, sorry I didn't have the time to comment it yet. I hope you can understand and use it :-) Anyway test it and see what it does. class InseForm { function AllowedTags() { $allowed_tags = Array(); $allowed