• I want to include a file using php in the content of a page. Is there some way to allow php to function there? I’m assuming it has been stripped for security?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Do you mean that you want to have PHP in your post itself, or in a theme page, or what?

    If you want executable php in a post, you need the Exec-PHP plugin from here: http://www.soeren-weber.net/post/2005/08/18/50/

    Thread Starter dstoops

    (@dstoops)

    Thanks Otto42. I want to use a php include inside a page-post.

    If I click on the link for the plugin, how do I get it to my server?

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    dstoops: It’s a plugin. Download it, extract the plugin’s files, ftp them to the plugins directory on your server, go to the admin page, activate the plugin. There may be more to it than that, but that’s pretty typical. Read the plugin’s webpage closer for install instructions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP’ is closed to new replies.