WordPress.org

Ready to get started?Download WordPress

Forums

PHP (4 posts)

  1. dstoops
    Member
    Posted 8 years ago #

    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?

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 8 years ago #

    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/

  3. dstoops
    Member
    Posted 8 years ago #

    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?

  4. Samuel Wood (Otto)
    Tech Ninja
    Posted 8 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags