note 34522 deleted from function.shell-exec by didou
| From: | didou@php.net | Date: | Wed, 30 Jul 2003 03:31:05 +0000 |
| Subject: | note 34522 deleted from function.shell-exec by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-52987@lists.php.net to get a copy of this message | ||
Note Submitter: o141@hotmail.com
----
Good ideas given below on how to make output
from an exec() look exactly like you would see it on a terminal. In a browser remember to put
echo "<pre>";
foreach( $output as $outputLine )
{
echo htmlspecialchars( $outputLine );
}
echo "</pre>";
P.S. Tested on Windows 2000 only.