com_invoke function, Code Publicated
| From: | Wladimir Pazmino | Date: | Thu, 24 Jun 2004 00:28:13 +0000 |
| Subject: | com_invoke function, Code Publicated | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-25078@lists.php.net to get a copy of this message | ||
Hellow...I am the owner of this e-mail address....
Some Days ago I shared code in your page....I need you to make an upgrade and pull-down the
actual....it´s absolutly IMPORTANT!!!! for my job stability!!!! PLEASE!!!! The webpage is the
following:
http://www.php.net/manual/es/function.com-invoke.php
----Begining---
This is a connection php-script to GoldMine
(an application wich supports COM objects) invoke is used here to execute GoldMine´s functions....
<?php
/*
Program: Connect to GMSM using COMObjects
Company: http://www.plus-projects.com
Author: Xavier Paez B.
Date: Jun-2003
Modified by: Wladimir Pazmiño
Modif. Date: Nov-2003
*/
ob_start();
// Set up the database connection, and the logon stuff
$objGoldmine = new COM("GMComAPI.Application") or die("Unable to instanciate
GM");
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","user");
com_propset($objGoldmine,"GMPassword","pass");
com_propset($objGoldmine,"SQLUserName","dbuser");
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);
//Office phone
com_invoke($objGoldmine, "Logout");
ob_end_flush();
?>
----End----
Note:
It´s extremely URGENT and IMPORTANT to do That
THANKS A LOT!!!
WLady....
---------------------------------
Internet gratis ¡y que funciona!
Tres nuevas ciudades con números locales:
Escobar, Zárate, Campana
Yahoo! Conexión
¿Qué esperás para navegar bien y rápido?