T
Tsui Wai-ming
I just started to learn CGI by writing a perl script, but what appeared on
the browser was exactly what I'd typed in the editor, minus the
<title>xxx</title> line.
This is the script I wrote, in fact it is what I directly copied from "Perl
How to Program":
#!c:\perl\bin
#displaying time in brower
print "Content-type: text/html\n\n";
print "<html><head><title>Hello!</title>";
print "</head>\n<body>";
print scalar( localtime() );
print "</body></html>"
Many thanks!!!
the browser was exactly what I'd typed in the editor, minus the
<title>xxx</title> line.
This is the script I wrote, in fact it is what I directly copied from "Perl
How to Program":
#!c:\perl\bin
#displaying time in brower
print "Content-type: text/html\n\n";
print "<html><head><title>Hello!</title>";
print "</head>\n<body>";
print scalar( localtime() );
print "</body></html>"
Many thanks!!!