[an error occurred while processing this directive]
open (LOGFILE, ">>guestbook.log");
$newline=join('::',@value);
print LOGFILE ("$newline\n");
close LOGFILE;
print "<BODY BGCOLOR=\'BEIGE\'><H1>Thank you. Your comments have been added</H1>";
#******** END BODY************************
This is the body of the guestbook.cgi program. Once again, you should:
You should now be able to test the form. If it works, you will get
a beige page thank you for your comments.
You can see if they have been added to the guestbook.log file by going
to a Unix command prompt and typing
cat guestbook.log
Break it down |