from CGI script. This program has a parameter "outfile=" to
specify where the output should be put. So I set it to
"outfile=stdout", This is the statements in which I invoke the
DB program:
$command="#/bin/sh;; lookup $parameters -outfile=stdout";
system($command);
But I got a error
I think the script can't open STDOUT in a child process under
CGI, a simpler statment: system("ls") didn't work too, until
I chanaged it to: print `ls`;
See http://perl.apache.org/guide/porting.html#Output_from_system_calls
--
Eric L. Brine | Chicken: The egg's way of making more eggs.