Title: PHP in a created page
Last modified: August 18, 2016

---

# PHP in a created page

 *  Resolved [joshziman](https://wordpress.org/support/users/joshziman/)
 * (@joshziman)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/php-in-a-created-page/)
 * Using the “create a new page” feature, I tried to insert a php script as a part
   of my page, but after it went through the submittion process the “<?php>” broke
   up. Any quick fix to allow php scripts?

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

 *  [Truth](https://wordpress.org/support/users/truth/)
 * (@truth)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/php-in-a-created-page/#post-400016)
 * I think you need a plugin for this.
 * [http://www.soeren-weber.net/post/2005/08/18/50/](http://www.soeren-weber.net/post/2005/08/18/50/)
 * 🙂
 *  [davidchait](https://wordpress.org/support/users/davidchait/)
 * (@davidchait)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/php-in-a-created-page/#post-400022)
 * There’s three or four plugins to allow you to put php into your pages/posts, 
   depending on whether it’s just a function call (my CG-QuickPHP does that…), or
   a block of code (php-exec, et al).
 *  Thread Starter [joshziman](https://wordpress.org/support/users/joshziman/)
 * (@joshziman)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/php-in-a-created-page/#post-400026)
 * php-exec works perfectly, thank you very much.
 *  [dirtydave](https://wordpress.org/support/users/dirtydave/)
 * (@dirtydave)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/php-in-a-created-page/#post-400693)
 * Hi
    I am trying to insert a toplist script into my page. I tried the php-exec
   plugin with no luck. Is there anyone out there that can tell me if I’m using 
   the wrong plugin or using the plugin incorectly?
 * The toplist script is
    ‘<?php include(“autorank/index.php?p=top20”); ?>’ and 
   it spits out this on the page
 * Warning: main(autorank/index.php?p=top20): failed to open stream: No such file
   or directory in /home/a1541/thedailydirty.com/wp-content/themes/TDD/sidebar-left.
   php on line 30
 * Aparently it’s trying to pull the script from the wp-content folder instead of
   the autorank. Sorry but my php skills are minimal.
 * Thanks
    Dirty Dave

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

The topic ‘PHP in a created page’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 4 replies
 * 4 participants
 * Last reply from: [dirtydave](https://wordpress.org/support/users/dirtydave/)
 * Last activity: [19 years, 6 months ago](https://wordpress.org/support/topic/php-in-a-created-page/#post-400693)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
