Date: 09/29/00
- Next message: Jason Cox: "RE: [PHP] ret_val of exec() call"
- Previous message: Jason Cox: "RE: [PHP] MySQL & PHP Security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Suppose I have a perl script 'hello.pl'
---------------------------------------
foreach($i=0; $i<5; $i++) {
print "hello\n";
}
---------------------------------------
In my 'hello.php', i just call the perl script
-------------------------------------------------
exec("perl hello.pl", $result_array);
for ($i=0; $i< count($result_array); $i++) {
echo "$result_array[$i]<br>";
}
-------------------------------------------------
I expect to see 5 hellos, but then I only get one, how do I get around
with this??
--- Sonia
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jason Cox: "RE: [PHP] ret_val of exec() call"
- Previous message: Jason Cox: "RE: [PHP] MySQL & PHP Security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

