COM in PHP
| From: | ws | Date: | Sat, 12 May 2001 09:22:49 +0000 |
| Subject: | COM in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-52558@lists.php.net to get a copy of this message | ||
Hi,
here my problem with COM in PHP.
<?
echo "J-Server in der dynamischen PHP-Web-Site. <br><br>";
$jServer = new COM("jexeserver") or DIE ("Connect zum J Server ist nicht
möglich");
$jServer->Show(1);
$jServer->Log(1);
$jServer->Do("0!:0
<(1!:40''),'system\extras\config\profile.ijs'");
$jServer->Do("load'd:\\j_tm1dll\\j\\tm1api.ijs'");
$jServer->Do("load'd:\\j_tm1dll\\j\\tm1con.ijs'");
$jServer->Do("load'd:\\j_tm1dll\\j\\tm1prop.ijs'");
$jServer->Do("load'd:\\j_tm1dll\\j\\tm1view.ijs'");
$jServer->Do("Tm1On''");
$jServer->Do("Tm1AdmSet'OLAPLINE01'");
$jServer->Do("SrvCon'zeiterf';'Admin';''");
#$jServer->Do("NN=:'XXX'");
$Var = "xxx";
$jServer->SetB("NN", $Var); // In the COM server: NN = $Var
$jServer->Do("NN"); // Display NN in the COM server
$jServer->Do("NN=:'yyy'"); // In the COM server: NN =
"yyy"
$jServer->GetB("NN", &$Var); // <=============== There is my problem:
(& is a refernce)
// In the COM server &$Var = NN
echo $Var; // echo $Var Output: xxx and not yyy ?!?
$jServer->Quit();
?>
Is there a bug in my code or is this a bug in COM ???
Wolf Schoemann
ws@olapline.de