in reply to DBI script runs from command line, not from CGI
I don't see any exception handling in the DBI calls (prepare,
execute). try adding something like:
(the prepare is also an excellent candidate as well)$sth->execute($i, $data{$i}{cname}, $j, $data{$i}{ports}{$j}{service}, + $data{$i}{ports}{$j}{banner}) or die "Content-type: text/plain\n\n $ +DBI::errstr";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: DBI script runs from command line, not from CGI
by tachyon (Chancellor) on Apr 16, 2002 at 16:46 UTC |
In Section
Seekers of Perl Wisdom