Figures from Chapter 11
- Figure 11.1 --
Listing of the perl gateway program counter.pl, which
inserts an access count into a designated HTML document.
The path to the designated HTML document is passed as
extra path information in the URL referencing the
program.
Line numbers are only shown in the book, and not
in this downloadable files.
- Figure 11.3 --
Listing for the Bourne shell script nph-top-list.sh
which returns,
every 10 seconds, a list of the top 10 processes running
on the computer.
Line numbers are only shown in the book, and not
in this downloadable files.
- Figure 11.4 --
Listing for the simple C program nph-doit-2.c,
for pushing a sequence of images to a client. The
files are read from the indicated directory. Commentary
- Figure 11.5 -- Example of server-side includes,
showing the listings for three example documents. The main
file is stuff.shtml, which
includes the file inc_file.shtml
and also the output of the CGI program
test_script.cgi..
- Figure 11.7 --
Listing for the program rot-new.pl, which randomly
selects an HTML document segment for insertion within an
HTML document.