Just started it, but it seems it already doens't seem to be working.
Here is the script which recieves the info from whats playing then outputs to the bottom file.
PHP Code:
<?php
$file = "winamp.php";
$fileopen = fopen($file, "w");
if ($p = 0) { $content= "WinAmp is not running."; }
else { $content= "WinAmp is currently running."; }
fwrite($fileopen, $content);
fclose($fileopen);
?>
Then output works when WinAmp is running but doens't get updated to winamp is not running if it isn't. I exit winamp and the page still says winamp is currently running..