in reply to How to do system calls in cgi programs
Make sure that the user running your CGI prog has permission to actually run Kreports.plx. Make sure that Kreports.plx actually works - i.e does it run without errors or problems in a non CGI environment?my $reportProg = "/some-path-to/Kreports.plx";
-- vek --my $reportProg = "/some-path-to/Kreports.plx"; system($reportProg) && do { my $errorMsg = "Could not run $reportProg - $!\n"; # your additional error handling code here };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How to do system calls in cgi programs
by Anonymous Monk on Jan 04, 2003 at 17:01 UTC | |
by poj (Abbot) on Jan 04, 2003 at 17:33 UTC | |
by vek (Prior) on Jan 04, 2003 at 18:21 UTC |