good morning
when i used localhost as server, the com support excecuted very well,
but when i use my ip adress as server i obtain an error .
this is what i did:
$excel=new com("execl.application",$ip_adress);
and this is the error :
Unable to obtain IDispatch interface for CLSID {00020820-0000-0000-C000-000000000046}: acces denied. in C:\rep\test.php on line 2
when i use localhost :
i can instantiate only word but about ecxel i obtain this error:
Unable to obtain IDispatch interface for CLSID {00020820-0000-0000-C000-000000000046}: server can't be excuted in C:\rep\testexcel.php on line 2
ca you help me?
thank you
Com Support
Moderator: General Moderators
http://de.php.net/manual/en/class.com.php
But why do you want to use the second parameter anyway? Isn't the component located on the same server?
and you must have been granted access to that component.To allow DCOM com.allow_dcom has to be set to TRUE in php.ini.
But why do you want to use the second parameter anyway? Isn't the component located on the same server?