note 7676 added to exec

From: Date: Fri, 11 Aug 2000 05:56:42 +0000
Subject: note 7676 added to exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-1019@lists.php.net to get a copy of this message
Hello, When I try the following script on my SuSE6.3 configuration I get no output. When other people try it on their system it works fine. This is the script: [b] <? $exec=exec("/usr/bin/uptime", $output, $return); for ($i=0; $i<count($output); $i++) { print "$output[$i]"; } ?>[/B] Other PHP3 scripts without "exec" are just working fine. Do you know a solution? http://www.php.net/manual/function.exec.php

« previous php.notes (#1019) next »