From: uk4460 at yahoo dot com Operating system: Windows XP PHP version: 4.3.1 PHP Bug Type: COM related Bug description: COM cannot execute in Windows XP
I have working with COM Object to create a php program like below: <?php $word = new com("word.application") or die("Unable to instanciate Word"); print "Loaded Word, version {$word->Version}\n"; $word->Visible = 1; $word->Documents->Add(); $word->Selection->TypeText("Testing"); $word->Documents[1]->SaveAs("test.doc"); //$word->Quit(); ?> In windows 98, it can execute and can show the word application, but the same setting in php.ini and so on, it cannot run in Windows XP. It only resident "WINWORD" in memory which i can see through press the Ctrl+Alt+Del, but it don't do anything even make the word application object visible. Why can be happen? Please send the solution to my email - [EMAIL PROTECTED] if u site can solve this problem. Thanks... a lot -- Edit bug report at http://bugs.php.net/?id=22956&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22956&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22956&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22956&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22956&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22956&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22956&r=support Expected behavior: http://bugs.php.net/fix.php?id=22956&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22956&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22956&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22956&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22956&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22956&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22956&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22956&r=gnused