Re: Check for well formed html

From: Date: Sun, 05 Aug 2007 15:14:01 +0000
Subject: Re: Check for well formed html
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-260205@lists.php.net to get a copy of this message
On 8/5/07, tedd <tedd@sperling.com> wrote: > Hi gang: > > I have a client who wants to include html tags in his CMS. > > I know that I can limit what tags he can use, but how can I check if > the text is well formed with the tags permitted before storing it in > his CMS? > > Cheers, > > tedd > Have a look at Example 1687 on the manual page for preg_match_all, I think you can use it with a little modification :) Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info

« previous php.general (#260205) next »