Hello,
I couldn't get exec() command work. My code is something is as below :
<?
$a = "ping 127.0.0.1";
exec($a, $b);
foreach($b as $output)
echo "$output <br>";
?>
this didn't work on win98. And on another Linux server I couldn't get this work, neither.
<?
$a = "ls -l";
exec($a, $b);
foreach($b as $output)
echo "$output <br>";
?>
Though it seems that it would write something on the screen, nothing appears.
Your help is appreciated.
thanks in advance
M.K.