Amit,
$output = shell_exec("./checklist'");
echo nl2br($output);
Works great,
Neal
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi folks,
i m trying to execute a plain shell script(bash shell) in php by
using exec function(i tried even backtick operator).
It is displaying me the echo commands but not doing any other
processing which is there in the script.
Moreover,the same scripts works when i execute it as a command
l
2 matches
Mail list logo