Title: eval()’d code on line 4
Last modified: August 21, 2016

---

# eval()’d code on line 4

 *  [alaminmc](https://wordpress.org/support/users/alaminmc/)
 * (@alaminmc)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/plugins-php_execution-evald-code-on-line-4/)
 * hello, i have installed a plugin php_execution php to my wordpress website so
   that i can post in php. but i got this problem when i post in php code. Warning:
   mysql_connect(): Access denied for user xxxx [@localhost](https://wordpress.org/support/users/localhost/)(
   using password: YES) /home1/xxxx/public_html/xxxxxxxr.com/wp-content/plugins/
   php-execution-plugin/includes/class.php_execution.php(273) : eval()’d code on
   line 4
 * i got this code
    /** * execute php inside post */ 270 function execute_php($content)
   271 { 272 ob_start(); 273 eval(“?>$content<?php “); 274 $html = ob_get_contents();
   275 ob_end_clean(); 276 return $html; 277 }
 * where is the problem and
 * how can i fix this problem?

Viewing 1 replies (of 1 total)

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [12 years, 2 months ago](https://wordpress.org/support/topic/plugins-php_execution-evald-code-on-line-4/#post-4659933)
 * You’re not aware of it but please do not put `[plugins php_execution.]` (now 
   deleted) in the topic titles. That is not how plugin support works.
 * Which plugin is it? That will help me get you to that plugin’s dedicates support
   sub-forum.
 * If you mean this plugin
 * [https://wordpress.org/plugins/php-execution-plugin/](https://wordpress.org/plugins/php-execution-plugin/)
 * The be aware that that plugin has not been updated in **five years** and I do
   not recommend that you use it.
 * **Edit:** Also what are you trying to accomplish? You may be able to do it by
   writing your own small plugin.
 * **Edit Edit:** Don’t create duplicate topics either. [https://wordpress.org/support/topic/eval%e2%80%99d-code-on-line-4?replies=1](https://wordpress.org/support/topic/eval%e2%80%99d-code-on-line-4?replies=1)
 * Closing this one.

Viewing 1 replies (of 1 total)

The topic ‘eval()’d code on line 4’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/plugins-php_execution-evald-code-on-line-4/#post-4659933)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
