>     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

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

Reply via email to