note 19827 deleted from function.exec by didou
| From: | didou@php.net | Date: | Sun, 18 May 2003 04:49:01 +0000 |
| Subject: | note 19827 deleted from function.exec by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48433@lists.php.net to get a copy of this message | ||
Note Submitter: sam@nova-mag.org
----
if you wanna execute a perl-script and grab the ouput (as for perl fortune auto-selection), you can
use the following :
exec("perl script.pl [args]", $out);
for ($i = 0 ; $i < count ($out) ; $i++)
echo "$out[$i]\n";
excuse my english, but i'm french :)