Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PHP3] New in PHP4 - COM support

0 views
Skip to first unread message

Boget, Chris

unread,
Apr 25, 2000, 3:00:00 AM4/25/00
to
"COM/DCOM support
PHP 4.0 provides COM/DCOM support (on Windows only) for
seamlessly accessing COM objects and instantiating them."

2 questions:

* Does "(on Windows only)" mean that it will only work on web
servers that are running on a windows based OS? Or that it
will only work for end users browsing your site on a windows
based OS?

* Where can I find more information on the above? I've scoured
the Zend website and the most I've been able to really find on it
is some sample code. Where can I find some really meaty info
on this functionality?

Chris

--
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-uns...@lists.php.net
To subscribe to the digest, e-mail: php3-diges...@lists.php.net
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-lis...@lists.php.net


Zak Greant

unread,
Apr 25, 2000, 3:00:00 AM4/25/00
to
At 04:07 PM 4/24/00 -0500, Boget, Chris wrote:
>"COM/DCOM support
>PHP 4.0 provides COM/DCOM support (on Windows only) for
>seamlessly accessing COM objects and instantiating them."
>
>2 questions:
>
>* Does "(on Windows only)" mean that it will only work on web
> servers that are running on a windows based OS? Or that it
> will only work for end users browsing your site on a windows
> based OS?

Considering that everything else in PHP is server-side, I would guess that
you would need to be serving from a Win32 platform ; )

Ciao,

Zak

Boget, Chris

unread,
Apr 25, 2000, 3:00:00 AM4/25/00
to
> At 04:07 PM 4/24/00 -0500, Boget, Chris wrote:
> >"COM/DCOM support
> >PHP 4.0 provides COM/DCOM support (on Windows only) for
> >seamlessly accessing COM objects and instantiating them."
> >* Does "(on Windows only)" mean that it will only work on web
> > servers that are running on a windows based OS? Or that it
> > will only work for end users browsing your site on a windows
> > based OS?
> Considering that everything else in PHP is server-side, I
> would guess that you would need to be serving from a
> Win32 platform ; )

I don't want to get too offtrack of the other part of my question, but
I just want to comment that I think that it could go either way (w/o
looking at the hard dox which is the other part of my ?) because the
apps (Excel, Word, Etc.) are going to be residing on the client's PC.

Chris

Sterling Hughes

unread,
Apr 25, 2000, 3:00:00 AM4/25/00
to
"Boget, Chris" wrote:
>
> > At 04:07 PM 4/24/00 -0500, Boget, Chris wrote:
> > >"COM/DCOM support
> > >PHP 4.0 provides COM/DCOM support (on Windows only) for
> > >seamlessly accessing COM objects and instantiating them."
> > >* Does "(on Windows only)" mean that it will only work on web
> > > servers that are running on a windows based OS? Or that it
> > > will only work for end users browsing your site on a windows
> > > based OS?
> > Considering that everything else in PHP is server-side, I
> > would guess that you would need to be serving from a
> > Win32 platform ; )
>
> I don't want to get too offtrack of the other part of my question, but
> I just want to comment that I think that it could go either way (w/o
> looking at the hard dox which is the other part of my ?) because the
> apps (Excel, Word, Etc.) are going to be residing on the client's PC.
>

Wrong. COM objects are strictly server-side. They manipulate
applications on the server not applications on the client.

Sterling

Zak Greant

unread,
Apr 25, 2000, 3:00:00 AM4/25/00
to
At 04:17 PM 4/24/00 -0500, Boget, Chris wrote:
> > At 04:07 PM 4/24/00 -0500, Boget, Chris wrote:
> > >"COM/DCOM support
> > >PHP 4.0 provides COM/DCOM support (on Windows only) for
> > >seamlessly accessing COM objects and instantiating them."
> > >* Does "(on Windows only)" mean that it will only work on web
> > > servers that are running on a windows based OS? Or that it
> > > will only work for end users browsing your site on a windows
> > > based OS?
> > Considering that everything else in PHP is server-side, I
> > would guess that you would need to be serving from a
> > Win32 platform ; )
>
>I don't want to get too offtrack of the other part of my question, but
>I just want to comment that I think that it could go either way (w/o
>looking at the hard dox which is the other part of my ?) because the
>apps (Excel, Word, Etc.) are going to be residing on the client's PC.

Hmmm... (grinding gears, smoke pouring out of ears..) errr... isn't
automation for apps handled by ActiveX - has MS gone and renamed OLE again
while I wasn't looking?

Zak

Patrick Shafer

unread,
Apr 25, 2000, 3:00:00 AM4/25/00
to
> * Does "(on Windows only)" mean that it will only work on web
> servers that are running on a windows based OS? Or that it
> will only work for end users browsing your site on a windows
> based OS?

It means that the COMs will need to be on the server. Remember php is a
"preparser" which implies "before it reaches the client".

I think com objects are a great way to extend php's capabilities, not to
mention interface with MTS.

> * Where can I find more information on the above? I've scoured
> the Zend website and the most I've been able to really find on it
> is some sample code. Where can I find some really meaty info
> on this functionality?

unfortunatly, there isin't a manual entry for it. Of course, theres not a
whole lot to say either. Every com is differen and has its own set of
properties or procedures.

A good place to start is at www.microsoft.com/com Or visit MSDN for
'nitty-gritty' details.

Patrick Shafer
--------------
Senior Web Applications Engineer
psh...@netsolutionsllc.com
http://www.netsolutionsllc.com

Bob Lutz

unread,
Apr 25, 2000, 3:00:00 AM4/25/00
to
ActiveX and OLE are subsets of the Component Object Model (COM). DCOM is
Distributed COM and dictates how different COM objects are instantiated and
utilized between modules (on the same machine or distributed on a network).

Zak Greant wrote:

> At 04:17 PM 4/24/00 -0500, Boget, Chris wrote:
> > > At 04:07 PM 4/24/00 -0500, Boget, Chris wrote:
> > > >"COM/DCOM support
> > > >PHP 4.0 provides COM/DCOM support (on Windows only) for
> > > >seamlessly accessing COM objects and instantiating them."

> > > >* Does "(on Windows only)" mean that it will only work on web
> > > > servers that are running on a windows based OS? Or that it
> > > > will only work for end users browsing your site on a windows
> > > > based OS?

> > > Considering that everything else in PHP is server-side, I
> > > would guess that you would need to be serving from a
> > > Win32 platform ; )
> >
> >I don't want to get too offtrack of the other part of my question, but
> >I just want to comment that I think that it could go either way (w/o
> >looking at the hard dox which is the other part of my ?) because the
> >apps (Excel, Word, Etc.) are going to be residing on the client's PC.
>
> Hmmm... (grinding gears, smoke pouring out of ears..) errr... isn't
> automation for apps handled by ActiveX - has MS gone and renamed OLE again
> while I wasn't looking?
>
> Zak
>

0 new messages