|
Answer
by: Stuart Pierce, Aplus.Net Knowledge Base Support.
The
Guestbook PHP script is a powerful web application which will allow
your visitors to post messages on your webpage. It includes its own
administrative panel as well as spam protection.
Furthermore,
PHP developers can integrate a lite version of the guestbook into
another PHP script. The
PHP script which utilizes the lite version is named gblite.php and is
located in the same directory as the general "index.php" file. If you
have installed the guestbook at http://yourdomain.com/gbook,
you have to include the following statement in your PHP script:
require_once
("absolute-path.../gbook/gblite.php");
Once you have embedded the guestbook into another script, you might want to preserve
the "non-guestbook parameters" while navigating back and forth in the
guestbook. For example, if the guestbook is shown on page
"script.php?screen=gb", you might want to keep the "screen" GET
parameter always there when reloading the page by browsing in the
guestbook. There is a Preserve
wrapper's QUERY_STRING option which
enables non-guestbook parameters to be preserved between
guestbook pages; it is turned on by default. You can modify this option
in the Settings section
of the Guestbook Administration.
Related
link:
|