BEGINNER
Start
What is CGI?
Getting a Script
Where your files are
Changing Variables I
Changing Variables II
>>Final Tweaks
Summary
Main Menu
|
You've now changed the variables in your guestbook.pl script. There are a few links in the HTML files that you need to change:
- In the guestbook.html file, change the "add a guest" link to the correct URL of your addguest.html file. Here you can reference it as:
http://members.tripod.com/your_membername/cgi-bin/addguest.html. You'll also probably want to change the "back to my homepage" link to point
to your main page.
- In the addguest.html file, change the action and method of the form. Remember that the whole point of this script is to get information
from users via this form; if the form action doesn't point to the guestbook.pl script, the guestbook won't work. Change the form action to:
http://cgi.tripod.com/your_membername/cgi-bin/guestbook.pl". You should also change the method to "post" if it isn't set already. You may
want to want to change the "back to the guestbook" link to point to your guestbook.html file.
|