Project II: Writing Form Data to a Text File

The guest book script is a nice way to collect comments from people who visit a Web site. Visitors can look at comments that others have submitted, as well as post their own.

The guest book script can perform three tasks required to maintain a guest book (which, in turn, generates three separate pages, shown in Figures 2-2, 2-3, and 2-4.

Figure 2-2. The script generates a form to let visitors submit entries to the guest book…

Figure 2-3. …collects an entry from a visitor and adds it to the guest book…
Figure 2-4. …then displays the contents of the guest book as an HTML page

New Features

Note

Many ...

Get Essential ASP for Web Professionals now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.