How do I setup and use a simple GuestBook?

cPanel 94.0.4 web-hosting control panel

Software: CGI - Simple GuestBook

Overview

A Simple GuestBook allows your visitors to post or sign a web page on your web site. There are several sections of the Simple GuestBook settings page:

  • Edit Guestbook Template - This allows you to modify the surrounding "look and feel" of your Simple GuestBook.
  • Sign GuestBook - You can sign your Simple GuestBook from this page.
  • View GuestBook - You can view your Simple GuestBook at any time.
  • Manage GuestBook - You can manage your Simple GuestBook at any time.
  • Web Page Form Code - Use this code on any web page on your web site to display your Simple GuestBook.

Edit Guestbook Template

Steps
  1. When the page loads, you will see the following code:

<html> <title>Default Template</title>
<body bgcolor="#FFFFFF">
<!--- Don't modify the cgi tag --->
<cgi>
<!--- Don't modify the cgi tag --->
</body>
</html>

NOTE: Do not modify any code between the following tags:

<!--- Don't modify the cgi tag --->
<cgi>
<!--- Don't modify the cgi tag --->

You can modify any of the surrounding code to meet your specific requirements.

  1. Once you have modified your Simple GuestBook template, click on the Save button.

Sign GuestBook

Steps
  1. Set the following information:
    • Name - Enter the name you want to use when signing your Simple GuestBoook.
    • Email - Enter the email address you want to use when signing your Simple GuestBook.
    • URL - Enter a URL to your own web site or any URL you want to be shown when signing your Simple GuestBook.
    • Comments - Enter any specific comments you want to post when signing your Simple GuestBook.
  2. Click on the Sign Guestbook button.
  3. A new window should open displaying your signed Simple GuestBook.

View GuestBook

Click on the View GuestBook to view your Simple GuestBook. A new window will appear showing your Simple GuestBook and any signatures or posts that have been made.

Manage GuestBook

Click on the Manage GuestBook to manage your Simple GuestBook.

Web Page Form Code

Copy the code listed on the Simple GuestBook page in cPanel and paste it somewhere on your web site. The code should look similar to the following:

<form action="/cgi-sys/guestbook.cgi" target="guestwindow">
<input type="hidden" name="user" value="USER">
<input type="hidden" name="action" value="addguest">
<input type="hidden" name="basehref" value="http://YOUR_DOMAIN">
<input type="hidden" name="template" value="default">
Name: <input type="text" name="name"><br>
Email: <input type="text" name="email"><br>
Url: <input type="text" name="url"><br>
Comments: <textarea name="comments"></textarea><br>
<input type="submit" value="Sign Guestbook">
</form>

  • 0 Kunder som kunne bruge dette svar
Hjalp dette svar dig?

Relaterede artikler

How do I edit my web site's search engine results template?

cPanel 94.0.4 web-hosting control panel Software: CGI - Edit Search Results Template Overview...

How do I rebuild the search index on my web site?

cPanel 94.0.4 web-hosting control panel Software: CGI - Rebuild Search Index Overview If your...

How do I run CGI scripts?

cPanel 94.0.4 web-hosting control panel Software: CGI - Simple CGI Wrapper Engine Overview A...

How do I setup and use a Clock on my web site?

cPanel 94.0.4 web-hosting control panel Software: CGI - Clock Overview A Clock is a real time...

How do I setup and use a Countdown on my web site?

cPanel 94.0.4 web-hosting control panel Software: CGI - Countdown Overview A Countdown is a...