Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dirtydave

    (@dirtydave)

    Samboll

    no box but I think I have it solved
    tried
    <?php include(“https://www.thedailydirty.com/autorank/index.php?p=top20&#8221;); ?>
    instead of
    <?php include(“autorank/index.php?p=top20”); ?>

    by including the full path it is including the toplist. Seems to work fine but still testing for bugs

    Forum: Plugins
    In reply to: PHP in a created page

    Hi
    I am trying to insert a toplist script into my page.
    I tried the php-exec plugin with no luck.
    Is there anyone out there that can tell me if I’m using the wrong plugin or using the plugin incorectly?

    The toplist script is
    ‘<?php include(“autorank/index.php?p=top20”); ?>’
    and it spits out this on the page

    Warning: main(autorank/index.php?p=top20): failed to open stream: No such file or directory in /home/a1541/thedailydirty.com/wp-content/themes/TDD/sidebar-left.php on line 30

    Aparently it’s trying to pull the script from the wp-content folder instead of the autorank. Sorry but my php skills are minimal.

    Thanks
    Dirty Dave

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