Reply to PHP COM application invisible

Your name:

Reply:


Posted by Hugh on 11/22/05 02:43

Hi all,
I am having problem with COM objects in PHP. I am running PHP 4.4.1 on
apache server 2.0.55, on windows 2000.

I tried the first COM example in the PHP manual
(http://www.php.net/manual/en/class.com.php). The example runs fine if
I use PHP in command line, i.e., run it like: c:\php\>php
c:\apache\apache2\htdocs\comtest.php, the word application starts and
after running the script, a word document is saved in the hard drive as
expected. But when I try to run it through web server, that is, type
http://localhost/comtest.php in the IE address bar, word application
run in background, and no file was saved at the end. It seems that
"$word->Visible = 1;" did not work in this case.

Any idea how to make the word application visible? Thanks.

Best regards
Hugh

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация