|
| A R C H I V E D M E S S A G E |
|
Subject: Premature end of script |
| Posted: 05/19/2003 at 8:04:25 pm |
| By: Paul Guba |
| Still not able to get bizmail.cgi to run. I know it is no longer a system problem I have been able to get another mail script to run. It is not a nice but hey it works right. I downloaded it from www.htmlgoodies.com:
#!/usr/bin/perl
if ($ENV{'REQUEST_METHOD'} eq 'POST') {
# Get the input
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
# Split the name-value pairs
@pairs = split(/&/, $buffer);
# Load the FORM variables
foreach $pair (@pairs) {
($name, $value) = split(/=/, $pair);
$value =~ tr/ / /;
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack( | |
|
|
Subject: Re: Premature end of script |
| Posted: 05/19/2003 at 8:04:53 pm |
| By: Paul Guba |
| error message from log is
Mon May 19 12:50:24 2003] [error] (2)No such file or directory: exec of /var/www/cgi-bin/bizmail.cgi failed
[Mon May 19 12:50:24 2003] [error] [client 192.168.2.2] Premature end of script headers: /var/www/cgi-bin/bizmail.cgi
| |
|
|
Subject: Re: Premature end of script |
| Posted: 05/29/2003 at 8:05:01 pm |
| By: Seth Knorr |
| It seems as if you may be missing the \ before the @ or some other mis configuration. You may want to try downloading again and reading the readme file.
Seth
| |
|
|