[prev in list] [next in list] [prev in thread] [next in thread]
List: cgi-list
Subject: [CGI] Questions again....
From: Kelly Biernaskie <kelly () csgm ! com>
Date: 1997-07-29 5:29:29
[Download RAW message or body]
Anybody know what this is?
HTTPd/CGI: exec of /usr/local/etc/httpd/cgi-bin/catalog/kelly/blah.cgi
failed, ERRNO IS 2
[Mon Jul 28 22:17:20 1997] HTTPd: malformed header from script
/usr/local/etc/httpd/cgi-bin/catalog/kelly/blah.cgi
I get no error's with the perl compilier and I have even went as far as
retype it, so It can be a spacing problem in the code. Speaking of code,
here's the code I got from the netscape people.....
!/usr/local/bin/perl
$|= 1;
@image = ('one.gif', 'two.gif');
print <<EOF;
Content-type: multipart/x-mixed-replace;boundary=ARandomString
ARandomString
EOF
for($loop = 5; $loop; $loop--)
{
foreach $picture(@image)
{
print "Content-type: image/gif\n\n";
open(IMAGE, "/usr/local/etc/httpd/htdocs/catalog/kelly/$picture");
while( read(IMAGE, $buf, 8192))
{
print $buf;
}
close(IMAGE);
print "\nARandomString\n";
sleep(1);
}
}
You are In my Thoughts
Kelly
------------------------------------------------------------------------------
To unsubscribe from the CGI Digest, mailto:majordomo@jann.com with
the words "UNSUBSCRIBE cgi-list" in the message body.
SUPPORT YOUR NEW LIST, POST TO IT at mailto:cgi-list@JANN.COM
To contact a person at the CGI list, mailto:owner-cgi-list@jann.com
cgi-list is hosted by Wizards of the Web (http://wizweb.com).
------------------------------------------------------------------------------
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic