VIA NET.WORKS UK Internet business solutions
home VIA Worldwide  
Guestbook help

Need some help?

To make a html page for your guestbook you need to do the following in your html page.

Open the form tags with the following.

<form action="http://www.personal.u-net.com/cgi-bin/gbook">

You now need to tell the guestbook whether to post to or view the guestbook. We'll start with the view function first. Enter the following lines to your html page.

<input type=hidden name=gbname value=Your_Guestbook_Name>
<input type=hidden name=action value=view>

That's pretty much all you need to do to view the guestbook, the last two lines simply give you a "submit" button and closes the form action.

<input type=submit value=View>
</form>


Ok i can view my guestbook. But how do people add to it ?

The following is an example of a page to add entries to your guestbook.

<form action="http://www.personal.u-net.com/cgi-bin/gbook">
<input type=hidden name=gbname value=Your_Guestbook_Name>
<input type=hidden name=action value=add>


You can now ask the user for any entries you might want off them, this can be as or as many as you want.

Email: <input name="Email address">
WWW: <input name="WWW Page">
Comments: <textarea name=Comments rows=10 cols=50></textarea>
<input type=submit value=Insert>
</form>

This will ask the user to input three things, their email address, wwwpage, and comments. You can add as many input fields as you want creating names for them as you go along, they will all be displayed when the guestbook is viewed. Please note, this guestbook currently does not allow html tags to be used. This is just a basic guide on getting started with the guestbook, if you need any help feel free to Email support with your query.

© 2001 VIA NET.WORKS UK | All Rights Reserved | Legal Conditions