in reply to Re^4: Failed System/Exec Call under Right Permission with CGI
in thread Failed System/Exec Call under Right Permission with CGI
In your code snippet above, you are effectively calling perl and passing it 4 arguments, the last three of which it won't know what to do with.
If I understand correctly what you are trying to achieve, then I would suggest that you need to modify your prn_to_file.pl script so that it accepts two arguments. The first will be the text to be printed, and the second will be the name of the file it prints to. Then you make your system call as per my previous example.
Cheers,
Darren
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Failed System/Exec Call under Right Permission with CGI
by neversaint (Deacon) on Jul 20, 2006 at 03:16 UTC | |
by McDarren (Abbot) on Jul 20, 2006 at 04:07 UTC | |
by neversaint (Deacon) on Jul 20, 2006 at 05:57 UTC | |
by whio (Beadle) on Jul 20, 2006 at 21:16 UTC | |
by Hue-Bond (Priest) on Jul 20, 2006 at 21:30 UTC |