• Hi

    I would like to know if it is possible to insert a php page (such as a download manager/organizer script) into a new page created through the MANAGE–>PAGES–>CREATE NEW PAGE process.

    Since a physical copy of the “new page” is not created ( or i cannot locate it!) I am wondering how i can add the download manager (pafiledb) to the page.

    Sincerely,
    Sandeep Singh

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

    (@sskhalsa)

    ok sorry for not searching forum…but I did, and i came caross the PHP exec plugin.

    I am having a problem however. If use the following code:

    <phpcode>
    <?php
    <?php include pafiledb/index.php; ?>
    </phpcode>

    i get the following error

    Parse error: parse error, unexpected ‘<‘ in /var/www/html/wp-content/plugins/phpexec.php(61) : eval()’d code on line 3

    Your code, is it not supposed to be the following
    <phpcode>
    <?php include 'pafiledb/index.php'; ?>
    </phpcode>

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

The topic ‘Inserting PHP download script —’ is closed to new replies.