|
CGI scripts
I am trying to put a CGI script onto my site but I keep getting the following error:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
I have tried uploading a very simple script incase there is a bug in the script:
#!D:\Perl\bin\Perl.exe -wT
use strict;
use CGI ':standard';
print "Content-type: text/html\n\n";
print "Hello world";
Any suggestions what I am doing wrong?
Thanks in advance,
Stephen
|