Hi all,
My PHP script is running on Apache 1.3.19 with PHP4. I am
successfully manipulating an Excel file using a PHP class (see below).
However, I can't close Excel application. It remains in the task list...
What did I forget in the quit() method ?
<?php
class ExcelSheet
{
var $comLink;
var $selectionPtr;
// Constructor
function ExcelSheet()
{
$this->$comLink = new COM("Excel.sheet") or die ("Can't instantiate MS Excel");
// return true
return true;
}
function quit ()
{
$this->$comLink->Application->Quit() or die ("Can't quit Excel !");
}
}
?>