From what You wrote, I think that you forgot to actually call
exec() function...
On Aug 27, 6:02 pm, carSign [EMAIL PROTECTED] wrote:
I am trying to execute a command from within a view. Something like:
?php
$output = `perl cool_script.pl`;
echo $output;
?
And I get nothing. I get
Grzegorz - carSign is using backticks which is equivelent to using
shell_exec();
carSign - is your php in safe mode as this will restrict what
directories you can execute from, the cli and mod_php often have
different settings. Also make sure that the user that apache runs as
has access to