WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] eval() Error on Exec-PHP with INCLUDE and GET parameters (3 posts)

  1. hbaumg
    Member
    Posted 2 years ago #

    Hello, WordPress is just great. But now I'm having a problem with the Exec-PHP plugin. Actually I think it's a wordpress problem, not a plugin problem.
    Usually Exce-PHP plugin just works fine, for example I can use a simple "include" as this:

    include 'myprog.php';

    but it’s not working when passing parameters to this included php file:

    include 'myprog.php?page=feature&id=2';

    this is strange. Here I get:
    Warning: include(myprog.php?page=feature&id=2) [function.include]: failed to open stream: No error in C:\xampp\htdocs\T2P-Wordpress\wp-content\plugins\exec-php\includes\runtime.php(42) : eval()’d code on line 16
    Warning: include() [function.include]: Failed opening ‘myprog.php?page=feature&id=2' for inclusion (include_path=’.;C:\xampp\php\PEAR’) in C:\xampp\htdocs\T2P-Wordpress\wp-content\plugins\exec-php\includes\runtime.php(42) : eval()’d code on line 16

    Does someone have an idea why?
    Thanks
    hb

  2. hbaumg
    Member
    Posted 2 years ago #

    sorry I think I've posted in the wrong support category.
    Now it's here:
    https://wordpress.org/support/topic/eval-error-on-exec-php-with-include-and-get-parameters-1

  3. asplash
    Member
    Posted 2 years ago #

    This is marked as resolved, but I cannot find the answer and I am having this problem too.

Topic Closed

This topic has been closed to new replies.

About this Topic