[Gllug] perl & cgi glitches

Robert Wood rob at empathymp3.co.uk
Sat Dec 22 07:33:26 UTC 2001


How about also adding the line

print "Content-type: text/html\n\n";

between the shebang and the print "<HTML>";

<SNIP>
> #!/usr/local/bin/perl

print "Content-type: text/html\n\n";

> print "<HTML>";
> print "<HEAD>";
> print " <TITLE>test</TITLE>";
> print "</HEAD>";
> print " <BODY TEXT = BLUE BGCOLOR = WHITE>";
> print " Test perl scripts";
> print "</BODY> </HTML>";
</SNIP>

Robert Wood                    Data Centre Support Technician
Tel: +44 (0) 20 7531 8700      Fax: +44 (0) 20 7531 8701
Redbus Interhouse (UK) Ltd.    http://www.interhouse.redbus.com
Registered in England no.      3607764

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list