Title: php includes in entry?
Last modified: August 18, 2016

---

# php includes in entry?

 *  [guboogi](https://wordpress.org/support/users/guboogi/)
 * (@guboogi)
 * [22 years, 10 months ago](https://wordpress.org/support/topic/php-includes-in-entry/)
 * i was wondering if there was any way to call <?php include > code inside of an
   entry. i tried just typing the code in and also using ascii codes for symbols
   but it in the entry it just comes out as the actual text “<?php include … >. 
   this would be really useful for me, so if it’s possible, any help would be appreciated.
   thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [Matt Mullenweg](https://wordpress.org/support/users/matt/)
 * (@matt)
 * [22 years, 10 months ago](https://wordpress.org/support/topic/php-includes-in-entry/#post-27230)
 * That would be a pretty huge security hole. No plans to allow this.
 *  [Dougal Campbell](https://wordpress.org/support/users/dougal/)
 * (@dougal)
 * [22 years, 10 months ago](https://wordpress.org/support/topic/php-includes-in-entry/#post-27291)
 * Right, there are many issues (security and technical) in trying to get php code
   to run inside a post entry.
    That said, one way you _could_ do it is by including
   an <iframe> in your post. ` <iframe src="someotherfile.php" width="95%"> [text
   here for browsers that don't support iframe] </iframe>  Then you put your php
   code into ‘someotherfile.php’.

Viewing 2 replies - 1 through 2 (of 2 total)

 The topic ‘php includes in entry?’ is closed to new replies.

 * 2 replies
 * 3 participants
 * Last reply from: [Dougal Campbell](https://wordpress.org/support/users/dougal/)
 * Last activity: [22 years, 10 months ago](https://wordpress.org/support/topic/php-includes-in-entry/#post-27291)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
