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.
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?
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!
MikeSims
Member
Posted 16 years ago #