WordPress.org

Forums

underConstruction
[resolved] PHP in custom field? (2 posts)

  1. Ry L
    Member
    Posted 2 years ago #

    I am successfully using css and javascript in the HTML field for a custom page, but I don't know how to get PHP to work. Is that not possible?

    http://wordpress.org/extend/plugins/underconstruction/

  2. Jeremy Massel
    Member
    Posted 2 years ago #

    There is no PHP support, because this is a pretty serious security risk. It would need to be run by using an eval() call, which is generally considered evil. I don't want to open up anybody's blog to potentially being hacked - if an evil person gets access to the database, they could easily do some nasty things.

    (not that if they have DB access they couldn't do *other* nasty things - but I want to limit it as much as possible and be part of the solution - not the problem)

    Long story short - not possible, and never will be unless someone can show me a safe way to do it

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • underConstruction
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.