nadeemshafi9 Posted September 4, 2006 Share Posted September 4, 2006 hi alli hav aprob running a programm i downloaded.[code]<?php $cmd = "soxmix tmp/audio1.wma tmp/audio2.wma tmp/final.wma"; shell_exec($cmd);?>[/code]pretend u wanted to execute the above code, you just downloaded the soxmix software its an exe, where would you place the software. i would have thoght system32 or somthing, can somone please give me a hand.thanx Quote Link to comment Share on other sites More sharing options...
Jenk Posted September 4, 2006 Share Posted September 4, 2006 [code]<?php $cmd = "soxmix tmp/audio1.wma tmp/audio2.wma tmp/final.wma"; echo shell_exec($cmd);?>[/code]output? Quote Link to comment Share on other sites More sharing options...
nadeemshafi9 Posted September 4, 2006 Author Share Posted September 4, 2006 well it says nothin im running windows Quote Link to comment Share on other sites More sharing options...
nadeemshafi9 Posted September 4, 2006 Author Share Posted September 4, 2006 i dont know were to place the soxmix file its a program that concatinates two audio files Quote Link to comment Share on other sites More sharing options...
Jenk Posted September 4, 2006 Share Posted September 4, 2006 do you get any output when you run it manually? (in command prompt) Quote Link to comment Share on other sites More sharing options...
nadeemshafi9 Posted September 4, 2006 Author Share Posted September 4, 2006 yes it worke fine from the command line Quote Link to comment Share on other sites More sharing options...
Jenk Posted September 4, 2006 Share Posted September 4, 2006 but do you get any output? Quote Link to comment Share on other sites More sharing options...
nadeemshafi9 Posted September 4, 2006 Author Share Posted September 4, 2006 i hav solved it i put the full path in to the function and i placed the directory in the php.ini file safe_mod_dirthanx alot though for your help Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.