hi, i am having problem using shell_exec() function:
<code>
echo shell_exec("cat `find ./logs -name access.log*` | grep akadi_icho | ./calamaris/calamaris -a -P 60 -T 0 -r 400 -d 500 -u -O -w");
</code>
i am not getting the ouput file, though the command string passed in the function is working perfectly when used on the shell.
but when i am trying to execute it using this function in a php file, no ouput file is made.
so plz if anyone have an idea about this plz help me.
regards
<code>
echo shell_exec("cat `find ./logs -name access.log*` | grep akadi_icho | ./calamaris/calamaris -a -P 60 -T 0 -r 400 -d 500 -u -O -w");
</code>
i am not getting the ouput file, though the command string passed in the function is working perfectly when used on the shell.
but when i am trying to execute it using this function in a php file, no ouput file is made.
so plz if anyone have an idea about this plz help me.
regards
Comment