Emit HTML tags, too.
This commit is contained in:
parent
6804ad4712
commit
367caeb01d
|
@ -1,9 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# An example CGI program outputing the current date
|
# An example CGI program outputing the current date
|
||||||
echo Content-Type: text/html
|
echo content-type: text/html
|
||||||
echo Status: 200 OK
|
echo status: 200 OK
|
||||||
echo
|
echo
|
||||||
|
echo "<html><body>"
|
||||||
echo "<h2> This is the cgi script. </h2>"
|
echo "<h2> This is the cgi script. </h2>"
|
||||||
echo "<br> Current date: "
|
echo "<br> Current date: "
|
||||||
echo `date`
|
echo `date`
|
||||||
echo
|
echo "</body></html>"
|
||||||
|
|
Loading…
Reference in New Issue