Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exec problem

Status
Not open for further replies.

JediDan

Programmer
Joined
May 15, 2002
Messages
128
Location
US
Trying to use the Linux SoX program through PHP. Just as a test, I'm doing:
Code:
print exec('play /home/dan/Beep.wav');

This works fine from the command line, but I get absolutely no response or results when running it inside of PHP. I can do "play --version" however, and get the correct results.

Any ideas?

Any help is appreciated.

Thanks,

Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top