php-windows | 2002071
Date: 07/05/02
- Next message: Alex Francis: "[PHP-WIN] Problems installing PHP4 under PWS"
- Previous message: Tomator: "[PHP-WIN] Session - funny or magic?"
- Next in thread: Scott Hurring: "[PHP-WIN] Re: WinampCOM problem"
- Reply: Scott Hurring: "[PHP-WIN] Re: WinampCOM problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Alex Francis: "[PHP-WIN] Problems installing PHP4 under PWS"
- Previous message: Tomator: "[PHP-WIN] Session - funny or magic?"
- Next in thread: Scott Hurring: "[PHP-WIN] Re: WinampCOM problem"
- Reply: Scott Hurring: "[PHP-WIN] Re: WinampCOM problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

