Title: Insert PHP WordPress Plugin
Last modified: August 30, 2016

---

# Insert PHP WordPress Plugin

 *  [Nabonga](https://wordpress.org/support/users/nabonga/)
 * (@nabonga)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/insert-php-wordpress-plugin/)
 * I am trying to get code from a php file to show up on a WordPress page.
    This
   code is supposed to insert a Google Adsense banner on the page and does just 
   that on a non-Wordpress page but not on a WordPress page.
 * Using the “Insert PHP WordPress Plugin” instructions I inserted this code into
   my WordPress page which is supposed to refer to a separate php page. This is 
   the code that is supposed to work with the plugin:
 *  [insert_php]
    include(“[http://www.builtreport.com/include_adsense_3.php&#8221](http://www.builtreport.com/include_adsense_3.php&#8221););[/
   insert_php]
 * **This is how I was typing the code on my non-Wordpress page:**
 * <?php
    include(“[http://www.builtreport.com/include_adsense_3.php&#8221](http://www.builtreport.com/include_adsense_3.php&#8221););?
   >
 * I get 3 error messages which are below the shark picture on this page
    instead
   of a Adsense banner ad: [http://testwordpress.builtreport.com/italian-movies/2nd-post/](http://testwordpress.builtreport.com/italian-movies/2nd-post/)
 * The error messages:
 * Warning: include(): http:// wrapper is disabled in the server configuration by
   allow_url_include=0 in /home/tr33h0useh0use/public_html/testwordpress.builtreport.
   com/wp-content/plugins/insert-php/insert_php.php(48) : eval()’d code on line 
   2
 * Warning: include([http://www.builtreport.com/include_adsense_3.php](http://www.builtreport.com/include_adsense_3.php)):
   failed to open stream: no suitable wrapper could be found in /home/tr33h0useh0use/
   public_html/testwordpress.builtreport.com/wp-content/plugins/insert-php/insert_php.
   php(48) : eval()’d code on line 2
 * Warning: include(): Failed opening ‘http://www.builtreport.com/include_adsense_3.
   php’ for inclusion (include_path=’.:/usr/local/lib/php’) in /home/tr33h0useh0use/
   public_html/testwordpress.builtreport.com/wp-content/plugins/insert-php/insert_php.
   php(48) : eval()’d code on line 2

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

 *  Thread Starter [Nabonga](https://wordpress.org/support/users/nabonga/)
 * (@nabonga)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/insert-php-wordpress-plugin/#post-6731937)
 * If this post shows up again it is because I thought it was going to be posted
   on a forum for the plugin itself but it redirected to here.
 *  Thread Starter [Nabonga](https://wordpress.org/support/users/nabonga/)
 * (@nabonga)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/insert-php-wordpress-plugin/#post-6731939)
 * I got it to work. I changed the location of the external php file to the same
   directory that WordPress is installed instead of it’s location at the root of
   my website.

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

The topic ‘Insert PHP WordPress Plugin’ is closed to new replies.

 * 2 replies
 * 1 participant
 * Last reply from: [Nabonga](https://wordpress.org/support/users/nabonga/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/insert-php-wordpress-plugin/#post-6731939)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
