I installed and activated the execPHP plug in and used this
<?php echo "hello"; ?>
<?php include ("/test/test.php") ?>
in the tinyMCE of wordpress.
I get to see the hello outputted properly, but then I see this error;
Warning: include(/test/test.php) [function.include]: failed to open stream: No such file or directory in D:\Hosting\5291199\html\sites\Main\wp-content\plugins\exec-php\includes\runtime.php(42) : eval()’d code on line 3
Warning: include() [function.include]: Failed opening ‘/test/test.php’ for inclusion (include_path=’.;C:\php5\pear’) in D:\Hosting\5291199\html\sites\Main\wp-content\plugins\exec-php\includes\runtime.php(42) : eval()’d code on line 3
I know for sure, /test/test.php exists! It’s got valid php code…
You must use a full path