• Resolved twebman

    (@twebman)


    I’ve installed php exec plugin, which is supposed to allow me to use PHP within the content of my pages/posts.

    However, I can’t seem to be able to include a file using PHP. When I place this code: <?php include(“myfile.php”); ?> inside the <phpcode> tags, the text itself shows up, not the file I’m trying to include.

    I’ve tried the file path, but that’s not what’s breaking this. It appears to be something else.

    Any ideas? Is there another method for including an external file on a page?

Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Can I use php INCLUDE statement in a page?’ is closed to new replies.