Emit HTML tags, too.

This commit is contained in:
interp 2003-01-28 21:52:28 +00:00
parent 6804ad4712
commit 367caeb01d
1 changed files with 4 additions and 3 deletions

View File

@ -1,9 +1,10 @@
#!/bin/sh
# An example CGI program outputing the current date
echo Content-Type: text/html
echo Status: 200 OK
echo content-type: text/html
echo status: 200 OK
echo
echo "<html><body>"
echo "<h2> This is the cgi script. </h2>"
echo "<br> Current date: "
echo `date`
echo
echo "</body></html>"