exec-PHP shows output at bottom of page

Create a shortcode and return the content instead of echoing it out so in your functions.php file add: function myFunc($atts,$content = null) { while (ture) { return $content; } return ”; } add_shortcode(‘myfunc’,’myFunc’); and in your page’s content instead of using exec-PHP just call your new shortcode: [myfunc]val[/myfunc]

Warning! PHP safe mode enabled!

What is this? Safe mode was an attempt to solve shared-server security problems at the PHP level. It restricts and even disables some built-in PHP functions (e.g. mail(), header() and session_start() — see attempted full listing of functions restricted/disabled in safe mode) What should I do? If you have access to your PHP configuration file … Read more