post your comment   print   send to a friend
Rate:   0% | Views: 11077
Question categories:  Guest Book

can i integrate the guestbook into another php script?

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:

Customer Feedback
Rate:   0% | Views: 11077 | Please Rate:  
 
If you have other comments or ideas for future technical tips, please type them here:

Email: (optional)

Comments: (optional)

 Webpage Design | Register Domain    Back to serch results
Browse the Base
Knowledge Base
Web Design
  Do It Yourself
    Guest Book
Messages
 

Get Insider Info and Tips on the Aplus.Net Blog!

It's here! Introducing The Aplus.Net official blog. Check in as we run down the issues important to the web hosting industry, and offer tips and advice on how to make your website the best it can be. You can even post comments and suggest ideas. Get involved with the Aplus.Net community!
Visit the Aplus.Net Blog today!

Private Area
 
Ask
in Private
   
Personal
Folder
 
Related Questions
 
1. What is a Guestbook?
 
2. I am still using the old Guestbook. Is there a way to edit or delete its entries?
 
3. How do I set up and configure a guestbook using Frontpage 2002.
 
4. How do I add a guestbook to my website using the Aplus.Net Control Panel?
 
5. How can I migrate the entries from the old Guestbook to the new one?
 
Home Browse Search Ask in Private Personal Folder   Help
powered by web hosting 
  Logged as: Guest