|
Control of Server & Trans Via Php
I have built a php script that starts the sc_trans and the sc_serv on my linux machine so i can start it and stop it remotely without having to SSH in and do it. i have also added capability for reloading playlist, shuffle toggle and so on. My problem is that whenever i send the "./sc_serve &" and "./sc_trans &" commands php hangs and i have to stop the browser. when i check it though it is running so it would be ok, except after i start sc_serv and hit stop on the browser and the then start sc_trans, sc_serv is somehow stopped. I have tried writing .sh scripts and just executing those through php with no luck, I was wondering if any of yall had done the same thing and could give me some help on all yall did it, or if any of yall have an idea of what i could do. i have tried session closes and so on, i have logging turned off, thanks for any help yall can give.
|