Re: Check for well formed html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/5/07, tedd <tedd@xxxxxxxxxxxx> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux