I am writing a php scrip to add files to the winamp playlist. The code works under Windows 95/98 but does not work properly under 2000 or XP. On windows 2000 the songs will que and play however winamp never opens and shows the files it is playing it just runs as a background process. I cannot end task the background process as it says i do not have permission. So it almost seems like some kind of file permission issue, i do not know what permissions php or apache are using to ensure they have the correct permissions to winamp.exe and the mp3.
this is my code
$command2 = "c:\progra~1\winamp\winamp.exe /add \"c:\mp3store\$letter\$quefile\"";
system($command2);
a print of $command2 displays the following output:
c:\progra~1\winamp\winamp.exe /add "c:\mp3store\a\Allman Brothers Band - Ramblin Man.mp3"
if ran from start/run it adds it to the playlist and display winamp.
I am mostly concerned with getting this to work on 2000 not XP.
this is what i am running:
Mysql 3.23.49
PHP 4.1.2
Apache 1.3.2
Like I said, the same apache, php configurations on a 95 and 98 machine work, i have been bashing my head for about a week now, so any help would be greatly appreciated... thanks.
-Jesse (badkarma@enter.net)