The MU forums have moved to WordPress.org

Exec PHP (or something like it) for WPMU (5 posts)

  1. MikeSims
    Member
    Posted 16 years ago #

    Hi. I need to be able to execute php from within posts in MU for a project I'm working on. This needs to be for all the blgos, not just the main one. I know this this creates a potential security hole but I have no choice in this matter.

    I'm a bit of a n00b with WPMU but just so you know, I don't need it for the sidebar (samsarin works fine for that). I'm just looking for php inside posts.

  2. ssbansal
    Member
    Posted 16 years ago #

  3. MikeSims
    Member
    Posted 16 years ago #

    Thanks for the suggestion but unfortunately that doesn't work either :(

    Exec PHP, PHP Exec and Run PHP - none work in MU.

    Maybe there is a setting in the MU admin that can be changed? I have read some hacks for the plugins too but they seem dubious. Any other ideas?

  4. suleiman
    Member
    Posted 16 years ago #

    php is stripped in the kses.php file for security reasons. many many posts exist on this forum explicitly talking about this issue and the exec php plugin.

    you should be able to find a way to disable it in the kses file however.

    good luck!

  5. MikeSims
    Member
    Posted 16 years ago #

    ok. thanks :)

About this Topic

  • Started 16 years ago by MikeSims
  • Latest reply from MikeSims