Support » Plugin: Insert PHP » Include/require external php code

  • Resolved nirgalo


    Hi, I used the “include” and “require” directives inside [insert_php] tags in order to include an external PHP file, but the result is that the file gets printed out (echoed) on the page. Any idea how I can actually include PHP files? Thx.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WillBontrager


    Hi nirgalo,

    It should work.

    Verify the included and required files are accessible and contain no errors.

    If still no joy, post the code that doesn’t work, (including the [insert_php] and [/insert_php] tags). I’ll see what I can see.


    Thanks Will but I actually created a plugin to put my functions into so I do not need to include files anymore.

    Plugin Author WillBontrager


    Gratuitous post to mark thread resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Include/require external php code’ is closed to new replies.