[PHP-DEV] PHP 4.0 Bug #8934: Execution of script aborted From: sjrijk <email protected>
Date: 01/26/01

From: sjrijk <email protected>
Operating system: Win 2000
PHP version: 4.0.3pl1
PHP Bug Type: COM related
Bug description: Execution of script aborted

The example (see below) from the PHP site to do some stuff with MS Word seems incompatible with IIS 5.0.

//<BEGIN_CODE>
$word=com_load("Word.application") or die("Cannot start word for you");
print "Loaded word version ($word->Version)\n";
$word->visible =1 ;
$word->Documents->Add();
$word->Selection->Typetext("Dit is een test");
$word->Documents[1]->SaveAs("burb ofzo.doc");
$word->Quit();
//<END_CODE>

The same code has also been executed on (another) system runnig Win ME / Apache and does exactly what it's supposed to do.

Does this problem involves some kind of priviliges, not already documented?

-- 
Edit Bug report at: http://bugs.php.net/?id=8934&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>