Plugin Directory

runPHP

Caveats and Gotchas

  • Code executed by runPHP is not in the global scope. It is executed as if it were inside a function block and so you'll need to declare your globals accordingly. (This is a limitation of PHP's eval() function, not the plugin itself.)
    • Some people have reported seeing an error message of "unexpected TOBJECTOPERATOR" in the runPHP_options_ui.inc.php file. I think this is because of how PHP4 handles objects - will you add a comment (preferably in this forum thread) about what version of PHP your website is using?
    • With few badly written WordPress themes, the plugin does not work. This is caused by a missing wp_head() call in the theme's header template (often called header.php). If that is the case, fixing it is simply a matter of inserting at the right point in the php template. See (http://squio.nl/blog/2006/11/08/wp-themes-and-microsummary-plugin/) for more details.

Thanks for using this plugin - I hope it helps!

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus

No data
100,1,1

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(5 ratings)