[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] RE: CGI won't print output
- Subject: [cobalt-users] RE: CGI won't print output
- From: Robert Fitzpatrick <webmaster@xxxxxxxxxxx>
- Date: Sun Aug 5 08:48:37 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> #!/usr/bin/perl
>
> print "Content-type: text/html\n";
> print "Hello\n";
OK, sorry to bother you CGI/Perl people. After I cut and paste that snippet
into my message, I realized the problem. Of course it was 'print
"Content-type: text/html\n";' which should be 'print "Content-type:
text/html\n\n";', notice the extra '\n' at the end, a must in Perl for
Content-type.
I guess the list helps in more ways than one.....
Thanks anyway:)
--
Robert Fitzpatrick
WebTent Networking, Inc.
PO Box 10785
Tampa, FL 33679-0785
US
Tel: (813) 281-2253