I am trying to exec a perl script from my php code.
Here is what I have:
exec(perlpath/perlscript.pl $var, $array)
The perl script runs fine as I am piping the results to a txt file also...so
I know that the script is running fine. I am printing the result of the
perl script to STDOUT which
On Saturday 15 June 2002 00:57, Batch wrote:
I am trying to exec a perl script from my php code.
Here is what I have:
exec(perlpath/perlscript.pl $var, $array)
Using exec() like this would put the exit code of your perl script into $array
-- which isn't what you want. Use shell_exec() or
2 matches
Mail list logo