Support » Plugin: Include Me » Awesome… but PHP caveat

  • Does just what I want; including a snippet of my PHP directly, without the formatting-sizing problems of an <iframe>.

    One issue:

    If you include like this: [includeme file=”myscript.php”]

    … any variables in your script defined outside of a function will NOT be automatically global, like they normally would. This took a lot of figuring out, but you must such variables as global so they can be accessed within functions.

  • The topic ‘Awesome… but PHP caveat’ is closed to new replies.