Michael Wölk: shell_exec($command);

Beitrag lesen

Hallo,

Ich frage mich was noch fehlt in meinem script!?

Wenn ich mein script per telnet mit "PHP index.php" ausführe zeigt er mir das an was haben möchte, jedoch nicht wenn ich es über http ausführe:

<?php
$command = "mailq";
$output = shell_exec($command);
echo "<pre>$output</pre>";
?>

die variable $output ist LEER.

wieso?
(safemod = off)

MfG
Michael Wölk