Re: Using DLL with PHP

From: Date: Mon, 09 Feb 2009 20:32:36 +0000
Subject: Re: Using DLL with PHP
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-288029@lists.php.net to get a copy of this message
On Mon, Feb 9, 2009 at 3:21 PM, Dan Shirah <mrsquash2@gmail.com> wrote: > Hmmmm, maybe it's not a problem with the DLL I'm trying to access because > just doing a simple: > $my_com = new COM("Excel.Application"); > > Gives me the same error: > *Fatal error*: Uncaught exception 'com_exception' with message 'Failed to > create COM object `Excel.Application': Invalid syntax ' > > I've checked my PHP.ini and COM is enabled... > Is Excel installed on the web server? What happens if you try either 'Scripting.Dictionary' or 'Scripting.FileSystemObject'? (I think those are both be part of VBScript, so they should be available.)

« previous php.general (#288029) next »