Thread: CGI scripts
View Single Post
Old 17-03-2006, 02:48 PM   #1 (permalink)
CAT4361
Registered User
 
CAT4361's Avatar
 
Join Date: Mar 2006
Posts: 14
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
CAT4361 is offline   Reply With Quote