note 19827 added to function.exec

From: Date: Tue, 12 Mar 2002 15:54:02 +0000
Subject: note 19827 added to function.exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-27672@lists.php.net to get a copy of this message
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 :) -- http://www.php.net/manual/en/function.exec.php http://master.php.net/manage/user-notes.php?action=edit+19827 http://master.php.net/manage/user-notes.php?action=delete+19827 http://master.php.net/manage/user-notes.php?action=reject+19827

« previous php.notes (#27672) next »