I was wondering is there a way to strip ONLY the tags that you specify
from
a page, rather than having to include all the tags you do want (using
strip_tags() )
A regular expression or str_replace() would be best for this.
Realize this isn't a good method, though. What if you're trying to
That's what I thought the answer would be. I guess I will have to see
if I
can create a function to add to the next release of PHP to do this, as
there
certainly seems to be quite a demand for it, according to the archives
anyway.
I hope not. That would be a worthless function to have. Did
on 20/09/02 1:14 PM, John Holmes ([EMAIL PROTECTED]) wrote:
I hope not. That would be a worthless function to have. Did you read my
post? The basic idea is validation is to allow what you _know_ is good,
and kill the rest. You don't kill a couple things you know are bad, then
assume the rest
3 matches
Mail list logo