Posted by Richard Lynch on 09/30/86 11:09
> Can I set up a PHP script which will strictly only allow instances
> of <a href="???"> and </a> and absolutely nothing else? I would like the
http://php.net/strip_tags
You'll still want to use a Regular Expression to rip out every
attribute/value other than HREF, but at least all the other HTML tags will
be gone.
You probably are better off inventing your own syntax as Chris pointed
out, but figured it's better to give you options than not.
--
Like Music?
http://l-i-e.com/artists.htm
Navigation:
[Reply to this message]
|