Forms, Clickable Images, and Authentication

Sample of executable script (run it)

It prints the values of all the CGI environment variables

Sample of nph-script (run it)

Same as above but an nph (non-parsed-headers) script

Fill-Out Form Example

Order a Pizza!

Clickable image examples

Illustrating the different "methods" for clickable images.

A password protected file

Use 'santa' as username and 'red-nosed' as password. For this example to work, the WN server must be run with either the -t or -T option or the -a or -A option.

Sample of "Server Push"

It prints the current time on the server and updates it every five seconds. It quits after doing this five times.

Page Access Counter

How the page counter and last modified lines on this page work. This example created the file /tmp/wncount that contains a number showing how many times this example has been run.