pillmill
asked on
Capture multiple lines of output?
A program executing in windows, produces multiple lines of ouput.
This program just outputs the last line:
<?php
$str= "prog.exe";
$output=exec($str);
?>
How can I get all of the lines of output in my variable?
This program just outputs the last line:
<?php
$str= "prog.exe";
$output=exec($str);
?>
How can I get all of the lines of output in my variable?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window