|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32123 Not Work
Submitted: 2005-02-27 08:03 UTC Modified: 2005-03-20 18:10 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: fLAre_Dra_X at yahoo dot com Assigned:
Status: No Feedback Package: COM related
PHP Version: 5.0.1 OS: Windows XP SP 2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
48 - 47 = ?
Subscribe to this entry?

 [2005-02-27 08:03 UTC] fLAre_Dra_X at yahoo dot com
I've try to use some advantage of PHP in connection to OLE or COM object. I follow some script doing that but found some error like bellow.

My system specs are :
AMD Athlon XP 1800+
RAM 512 MB
HD Seagate 40 GB
OS Windows XP SP 2
WebServer IIS 5.1 integrated with MS.Net Framework 1.1.4322 and PHP 5.0.0RC1-win32 CGI Mode

Other kind like access MySQL, normal PHP script it's work normally, only for COM procedure it doesn't work ???

Reproduce code:
  $word = new COM("word.application")or die "word cannot opened";
  $word->Visible = 1;
  $word->Selections->TypeText("Pemrograman PHP 5 ...");
  $word = null;

  $buka = new COM("InternetExplorer.Application");
  $buka->Visible = true;

Expected result:
I've expected that COM Object of Ms.Word will be created and save a documents, then server open new IE window then get Ms.Word OLE inside it.

Actual result:
It bought me error :
Error xxxx: Class "com" not found error on line xxxx
I've think that my PHP doesn't have COM class for creating COM Object.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-27 10:25 UTC]
Please try using this CVS snapshot:
For Windows:
 [2005-03-20 18:10 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Nov 30 18:01:27 2023 UTC