Support » Fixing WordPress » Server Side Includes

  • I’ve read a post where allusion pointed out that there is no plan whatsoever to enable php scripts to be run from posts.
    While I understand the security ramifications behind this, is there any possible way to create a hack to circumvent this strict rule?
    So far, I’ve discovered Stevarino’s PHP HACK but it doesn’t seem to work. I keep on getting parse errors when trying to run a php include.
    Anyway, that aside, is there anyway this could be enabled as an OPTION? Even if this is too much to ask, how about allowing normal SSI includes using !--#include file="foo.php" -- instead?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ahhh.. Allusion said that?!? Wish someone told me before I had published that… :\
    Oh well, give the people what they want, or else they’ll just go somewhere else. This is very ironic considering my last comment. D’oh!
    You should have asked about the parse errors. I foolishly did little testing, but it’s better now. I also included a new feature so that when you do recieve a parse error, it outputs the problem-code to “wp-php.txt.” This will hopefully speed up any debugging in future problems.

    Moderator Matt Mullenweg



    You can’t mix SSI and PHP.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Server Side Includes’ is closed to new replies.