hey there!
I want to execute a script via php using above commands...
I have a tool on my unix suse which is called notlame and is a text-based encoder for mp3 files.
Whenever I run notlame with addiotional parameters on the shell itself it runs perfectly (encoding process...) but when I try to execute an encoding process via php nothing happens at all.
When I run the following code
<?php
$output = shell_exec('notlame --help');
echo "<pre>$output</pre>";
?>
I do get the output same as on shell but when e.g. I run
<?php
$output = shell_exec('notlame -b 192 test.mp3');
echo "<pre>$output</pre>";
?>
The screen is just blank and the file is not encoded in 192 bitrate though it does when I run exactly the same command from shell.
Any ideas how to do that?
Safe Mode is off btw...
thanks in advance