Output-Only Gateway
Here is the code for the date CGI script, which simply outputs
a plain text message. It starts the
output with a
MIME-compatible header, then prints the system date when it is
run.
#!/bin/sh
# Start with MIME-format message header:
echo "Content-type: text/plain"
echo ""
# Process information, and output message:
date
Seminar Index
|
Gateway Programs
|
Simple Query Gateway
Copyright (c) 1995,
Gilbert Detillieux,
Computer Science,
University of Manitoba.