403 error when php inside of code tags

Senpai - April 8, 2007 - 02:29
Project:Code Filter
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

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.

#1

jjeff - April 28, 2007 - 15:06
Status:active» 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>

#2

LanceLight - August 28, 2007 - 23:44

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

#3

JohnAlbin - December 4, 2007 - 22:43
Title:Does this module support php inside of code tags» 403 error when php inside of code tags
Status: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

#4

Senpai - December 5, 2007 - 03:42

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

#5

Anonymous - December 19, 2007 - 03:52
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.