PHP 4.0 Bug #8934 Updated: Execution of script aborted

From: Date: Sat, 03 Mar 2001 04:12:35 +0000
Subject: PHP 4.0 Bug #8934 Updated: Execution of script aborted
Groups: php.dev 
Request: Send a blank email to php-dev+get-47834@lists.php.net to get a copy of this message
ID: 8934 Updated by: phanto Reported By: sjrijk@yahoo.com Old-Status: Open Status: Closed Bug Type: COM related Assigned To: Comments: works fine with iis and the latest cvs version. Previous Comments: --------------------------------------------------------------------------- [2001-03-02 07:11:24] sjrijk@yahoo.com I've removed IIS 5.0 and replaced it with Apache 1.3.17; It now works like clockwork and w/o any alterations. Seems my first hunch was right: The COM functions are not entirely compatible with IIS. Maybe something to look into? --------------------------------------------------------------------------- [2001-01-29 17:04:06] phanto@php.net use $word = new COM("Word.application"); or use the com_propget, com_propput, com_invoke functions after the print command. --------------------------------------------------------------------------- [2001-01-26 16:06:56] derick@php.net Can you elaborate some more? What exactly doesn't work then, does it crash, does it give you an error? --------------------------------------------------------------------------- [2001-01-26 08:37:38] sjrijk@yahoo.com 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? --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8934&edit=2

« previous php.dev (#47834) next »