PHP to a COM object



Hello,

I'm trying to use a (remote) COM object from a PHP script (4.4, server has
apache2 win32).

The basics seem to work : I instantiate the COM object ($o = new COM"..."),
then I use two of the objects methods to authenticate. In the meantime a
property called "ProjectConnected", passes from 0 to 1. So I think the
object is correctly instanciated and the connection works.

But now, I'm doing a var_dump on my object and I get this :
object(COM)(1) {
[0]=> resource(127) of type (COM)
}

Arg. I don't understand this and the PHP manual doesnt help either. I would
have expected to get a list of methods/properties. At least the two I use to
authenticate.

var_dump ($obj[0]) returns null.


Could someone explain me more about this ?

Thanks,
--
Alex
[JDR] Visitez Extremia, un monde gratuit et en francais pour D&D et
autres jeux de role.
www.extremia.org


.



Relevant Pages

  • Re: PHP to a COM object
    ... I'm trying to use a COM object from a PHP script (4.4, server has ... I don't understand this and the PHP manual doesnt help either. ... At least the two I use to authenticate. ...
    (comp.lang.php)
  • Re: PHP script cant go though proxy
    ... It'll allow you to authenticate and issue HTTP commands, ... which can include a call to your PHP script. ... other websites but the scripts can't pass the proxy. ...
    (microsoft.public.inetserver.iis)
  • Authorization then POST request
    ... I have to authenticate my php script against a ssl+http authentication, ... For the moment, the HTTP ... authorization works fine, but when I want to submit values, there is no ...
    (alt.php)