Welcome! » Log In » Create A New Profile

Strip PHP open/close tags?

Posted by atDev 
Strip PHP open/close tags?
December 31, 2011 07:57PM

Is there any way to get HTML purifier to strip the PHP open and close tags?

<?php and ?>
Re: Strip PHP open/close tags?
December 31, 2011 08:00PM

Hmm, not at the moment, I don't think.

Re: Strip PHP open/close tags?
December 31, 2011 08:03PM

Ok thanks. Is it built to ignore this case? It seems like something like:

<?php echo &#039;test&#039;; ?>

would trip it up as an invalid tag.

Re: Strip PHP open/close tags?
December 31, 2011 08:06PM
Sorry, you do not have permission to post/reply in this forum.