|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12341 Don't is appears the object
Submitted: 2001-07-24 10:43 UTC Modified: 2001-08-05 07:22 UTC
From: tuca at ctgeo dot br Assigned:
Status: Closed Package: COM related
PHP Version: 4.0.6 OS: NT 4.0 WorkStation
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: tuca at ctgeo dot br
New email:
PHP Version: OS:


 [2001-07-24 10:43 UTC] tuca at ctgeo dot br
A take a sample of function COM.

$word = new COM("word.application") or die("Unable to instanciate Word");
print "Loaded Word, version {$word->Version}\n";
$word->Visible = 1; // command that show window
$word->Selection->TypeText("This is a test...");
$word->Documents[1]->SaveAs("Useless test.doc");

The commands execute, but the window of word don't appears.

I make a test with Autocad too, but the window don't appears.
When a had a ohter version PHP, don't remember, the window appears


Luiz Fernando


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-24 12:17 UTC]
Did the document save correctly?
 [2001-07-24 14:19 UTC]
I thought this is what the commands were supposed to do.

If you wanted to open word wouldn't you do something
like this:


 [2001-08-05 07:22 UTC]
if the webserver runs as service it doesn't have access to the userspace (e.g. the desktop). if you want to open a window you have to execute php from the command line.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Jul 06 01:05:44 2022 UTC