xmms control
Posted: Sat Feb 14, 2004 5:44 pm
I think this would be nice on my little server homepage:
But it doesnt work...
Get no respond on my local machine.
How would I make it work?
So I'm left guessing on how I should make xmms execute by this script...
*help*
(ps: exec works on other scripts....so it's not that 'exec' don't work at all.)
Code: Select all
<?php
if (isset($_GET['xmms']) && $_GET['xmms'] == "stop")
{
exec("xmms stop");
}
if (isset($_GET['xmms']) && $_GET['xmms'] == "groove_salad")
{
exec("xmms play http://64.236.34.196:80/stream/1018");
}
?>Get no respond on my local machine.
How would I make it work?
So I'm left guessing on how I should make xmms execute by this script...
*help*
(ps: exec works on other scripts....so it's not that 'exec' don't work at all.)