I can't find any mention of Codefilter's ability to escape php that's pasted inside of code tags. In fact, I have it installed on a sandbox site right now, and it appears that Codefilter cannot handle any php that's nested inside of a code block. Pleas tell me I'm wrong, or point me toward some docs on said fact? I'm getting a 403 anytime I nest php code inside head tags inside a code block.

Comments

jjeff’s picture

Status: Active » Closed (won't fix)

Yes. This module supports this.

<html><body>
<!-- This stuff is in a regular [code] block-->
<?php print $content;
// this stuff is in a the PHP block within the code block
?>
Just be sure to get all the opening and closing tags in the right place
</body>
LanceLight’s picture

The original post is right, this module doesnt support php in code tags. The response he got was pretty un-informative.

johnalbin’s picture

Title: Does this module support php inside of code tags » 403 error when php inside of code tags
Status: Closed (won't fix) » Fixed

Jeff is correct. This module does support putting php code in <code> tags. For example: <?php print "See!"; ?>

Joel, the 403 error you mention is probably this: http://drupal.org/node/110219

senpai’s picture

Aha! And yes, that particular host does indeed have some VERY strict rules regarding apache access. Thanks for the pointer, and the followup info!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.