in reply to Re^3: Failed System/Exec Call under Right Permission with CGI
in thread Failed System/Exec Call under Right Permission with CGI
While it does prints/shows this text in the browser (which is not what I really want):my @args = ('perl', '/home/myname/public_html/somedir/cgi-bin/prn_to_file.pl',$param1, ,'>','/home/myname/public_html/somedir/results/output.txt'); system(@args) == 0 or die "Code does not work $!";
But still, no file is created. Did I still miss anything?THIS IS YOUR INPUT TEXT: foo bar
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Failed System/Exec Call under Right Permission with CGI
by McDarren (Abbot) on Jul 19, 2006 at 10:16 UTC | |
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 | |
|