|
Re: WinampCOM problem: msg#00132php.windows
What user is your Server running as? For me, when i setup apache on my Win2k machine, i had to "RunAs" my personal "scott" account, rather than the system account, or else apache wouldn't be able to read certain "scott-only" files.... perhaps the user that apache is running as doesn't have permission to do COM stuff.... but i really don't know for sure. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Olivier Hubert" <raggart@xxxxxxxxxx> wrote in message news:5.1.0.14.0.20020705204726.00aba9d0@xxxxxxxxxxxxx > Hiya, > > Just wondering if anyone else is having this problem. I am trying to > control Winamp through HTTP using the WinampCOM plugin. It works fine when > I call the script from the command line but not at all when the exact same > script runs through HTTP (using Apache). Here is a bit of the code I use: > > $Winamp = new COM("WinampCOM.Application") or die('Could not > instanciate the WinampCOM object'); > > if (isset($Winamp)) > echo 'Test: ' . $Winamp->CurrentSongFileName(); > > else > echo 'Not working'; > > Now, through the command line I see 'Test: ' followed by the current song's > name but on the web page I see only 'Test: '. Anyone ever experienced this? > Any help appreciated. For those who wonder, WinampCOM is available at: > http://www.adcock8.freeserve.co.uk/winamp.htm. > > Thanks, > > Olivier > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: COM stalls the server..: 00132, Scott Hurring |
|---|---|
| Next by Date: | Re: Session - funny or magic?: 00132, Scott Hurring |
| Previous by Thread: | WinampCOM problemi: 00132, Olivier Hubert |
| Next by Thread: | Problems installing PHP4 under PWS: 00132, Alex Francis |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |