Have you tried it like this?
$output = `$executable $param`;
$output = explode("\n",$output);
print_r($output);
It works for me! I get the same weird response as you when I try to
create the array directly off of the system call.
Good Luck,
Shawn Sellars
-Original Message-
Essentiall
I need to read (and parse) some text-list output from an executable, but
the output to the PHP script is limited to the first couple of lines.
Running from the command line works fine, and I get the complete output in
Perl.
Essentially:
$output = array (system("$executable $param"));
print_r(
2 matches
Mail list logo