Emit HTML tags, too.
This commit is contained in:
@@ -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>"
|
||||
|
||||
Reference in New Issue
Block a user