|
From: Dan A. <dan...@sn...> - 2004-03-26 03:57:37
|
Hi all,
I'm new to the list... and to SoX. What I'm trying to do is call SoX from a
php script, in order to play music files on my server without them having to
go through my browser. I have posted this question to many forums, and get
no responses, so I'm hoping someone here has an idea.
At the moment, I'm testing something very simple: 'play Beep.wav' works
from the shell. It does not work from the script. When I load the php page
with just "print exec('play /path/to/file/Beep.wav');", I get no output at
all.
If I try "print exec('play --version');", I do get the expected output, so
at least I know the communication is there.
I'm running Mandrake 9.2, Apache 2 (as nobody), php 4.3.4 and SoX 12.17.4.
Any ideas or suggestions will be greatly appreciated.
Thanks,
Dan
|