
Vulnerable CGI Scripts • Chapter 4 135
Without this line of code, the script won’t be able to compile, and will
be unable to run.
The next section of the program is used to accept the data from the
form on the Web page.This is so that the data can be processed, and
used in the next section, where the data in each variable is put into an
e-mail message. Once this is done, the final section of script is executed.
Here, a Web page is produced and returned to the user who initially
entered the data.This HTML document confirms that the feedback was
sent, so that the user knows the task is done and he or she can continue
browsing your site.
When Should You Use ...