note 43281 deleted from function.com-invoke by kennyt

From: Date: Thu, 24 Jun 2004 04:58:33 +0000
Subject: note 43281 deleted from function.com-invoke by kennyt
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-71564@lists.php.net to get a copy of this message
Note Submitter: wladimirpazmino@yahoo.com.ar ---- This is a connection php-script to GoldMine (an application wich supports COM objects) invoke is used here to execute GoldMine´s functions.... <?php ob_start(); // Set up the database connection, and the logon stuff $objGoldmine = new COM("GMComAPI.Application") or die("Unable to instanciate GM"); // echo "test -"; com_propset($objGoldmine,"CommonFolder","MSSQL: GoldMine_Sales: dbo:"); com_propset($objGoldmine,"SystemFolder","c:\\\\Archivos de programa\\Goldmine"); com_propset($objGoldmine,"GoldmineFolder","c:\\\\Archivos de programa\\Goldmine\\GMBase"); com_propset($objGoldmine,"GMUserName","sistemas"); com_propset($objGoldmine,"GMPassword","admin"); com_propset($objGoldmine,"SQLUserName","username"); com_propset($objGoldmine,"SQLPassword","pass"); com_invoke($objGoldmine, "Login"); //presenting or executing the instruccion $objContact1 = com_invoke($objGoldmine, "NewWorkArea", "CONTACT1"); //executing other instruccion com_invoke($objContact1, "Top"); com_invoke($objContSupp, "Seek", $account); //CONTACT1 inserting com_invoke($objContact1, "Replace", "PHONE2", $phone3, 0); //Telf oficina //com_invoke($objGoldmine, "Logout"); //header("Location: http://192.168.1.11/condado/php/admin/actudatos.php"); ob_end_flush(); ?>

« previous php.notes (#71564) next »