Posted by Chung Leong on 11/18/05 19:33
Stephanie Le Gall wrote:
> In fact we use COM Object .... we do use ActiveXObject.
>
> On the server there is scripts in php and javascript that generate ActiveX
> for opening a Word application on the client poste and replace variables on
> the Word document model (the model is on the client poste)
>
> is there any memory leak probleme with ActiveXObject ?
COM support in PHP is rather flaky. Very often objects are not freed,
even when the script ends. If you manually call the Release() method on
the objects, you might to able to free them all. It's tricky though, as
it has to be done in a particular order.
My suggestion is to set up PHP as a CGI application under a different
file extension (e.g. .phpc) and rename that one particular script to
that extension.
Navigation:
[Reply to this message]
|