php-windows Digest 15 Dec 2008 21:57:41 -0000 Issue 3546
Topics (messages 29098 through 29099):
Re: Word instance not closing after call to $word->Quit()
29098 by: Gunawan
Re: Cannot get php_http.dll to work
29099 by: andrew.paisleysoft.com
Administrivia:
To subscribe to the digest, e-mail:
php-windows-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-windows-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-wind...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
just my luck.. I have same problem
i wish to build like yours.. but eventualy.. i found a better one..
*still not a better i want
i create the file using HTML and then i put header as word ^^
Sascha Meyer wrote:
Good morning to you,
one of my scripts creates a winword COM reference, creates a new document,
appends data and saves the file to disk; works like a charm, but the word
instance remains after the script has finished.
To test this issue, I created the following minimalistic script:
[CODE]
<?php
$word = new COM("word.application") or die("Unable to instantiate Word");
$word->Quit();
try {
// If not caugt, a fatal exception is thrown because "Release()" is not
defined
// Means, I could also skip this line ...
$word->Release();
} catch (Exception $ex){
}
$word = null;
unset($word);
?>
[/CODE]
The word instance is created fine, the script ends without errors, but the
WINWORD.EXE remains in the task manager for eternity ...
Any ideas how to fix this?
My setup:
* Windows 2003 Server
* PHP 5.2.5.5
* Word 2003
Thanks in advance!
Regards, Sascha
--- End Message ---
--- Begin Message ---
we fixed this by running filmon from sysinternals and noticing that the
following 2 dlls were missing from system32.
ssleay32.dll
libeay32.dll
After adding them and restarting the web site, the php page worked.
In the php.ini setting we also added :
[PHP_HTTP]
extension=php_http.dll
Good luck!
--
View this message in context:
http://www.nabble.com/Cannot-get-php_http.dll-to-work-tp15622879p21022916.html
Sent from the Php - Windows mailing list archive at Nabble.com.
--- End Message ---