A reader writers:
“I’m trying to create a guestbook using the forms and CGI’s, but I’m stuck as to how to link the form to the server. The sign page is at <guestadd.html> and I would like the view page to be at <guestbook.html>. What I did was use a somewhat template form of guestbook provided by our web host, and, after editing the sign page (new additions are “Current Division” and “Mu Alpha Theta Chapter”), wanted the additions to appear on guestbook.html, but I don’t know how to do that…”
I think that the most confusing part of the Web is the Common Gateway Interface, and much of that is because there’s programming involved. 🙂 Seriously, you’ve got the basics figured out, but remember that the guestbook script that you’re using from your Web hosting provider is a program, so if you want to modify the input fields, you need to modify the script to see them, accept them, and include them in the output file. Talk with your admin about whether you can have a copy of their script in your own directory so that you can make these changes.
In terms of view page link, more likely than not it’ll be a .cgi URL not a .html URL as you indicate in your message: what’s their recommended link for allowing someone to just see the guestbook without adding a new entry?
Still have questions? Come back and post a Q&A and we can discuss this further!