• Hi,
    I am trying to implement a php include of comdev guestbook at;

    [code]https://www.neilhoughton.net/?page_id=10[/code]

    When I try to sign the guestbook I am directed here;

    [code]https://www.neilhoughton.net/index.php?pageaction=addpost[/code]

    …which takes me to my index.php page instead of here;

    [code]https://www.neilhoughton.net/oneadmin/guestbook/sampleguestbook.php[/code]

    …the front end where I wan’t to be.

    this is the include code I am using;

    <phpcode>
    <?php include(“/xd1/homes/hash/11/a2411/54/65/u26554/neilhoughton.net/www/oneadmin/guestbook/home.guestbook.php”) ?>
    </phpcode>

    Being fairly new to WP+WPG2 I am not sure where the problem is coming from.
    Any help would be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Your best bet is to contact the author of the guest book and ask them. Or try another guest book.

    But in general, you can’t include PHP directly in a Page or a post without a special plugin like RunPHP or PHP Exec (see Plugins). You can put it on a template file and use that template as your Page. Did you go through the instructions on how to do that in the article on Pages?

    Thread Starter cyber6

    (@cyber6)

    I should have mentioned I am using PHPExec.
    The guest book is working fine from the front end. I can post a comment and I get an email notification.
    The only problem is with the include and if you try to comment the link is incorrect as above.
    No reply from the author yet on this one.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘comdev guestbook’ is closed to new replies.