[PHP] Help with output from system() or backticks

2002-08-13 Thread David Drewelow
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));

RE: [PHP] Help with output from system() or backticks

2002-08-13 Thread Shawn Sellars
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-