[PHP] Execute bash shell script in php

2002-03-10 Thread Neal Dewing
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

[PHP] Execute bash shell script in php

2002-03-08 Thread Your Amit
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