Re: Re[2]: [PHP-GTK] how to connect to oracle

From: Date: Mon, 02 Apr 2001 10:31:19 +0000
Subject: Re: Re[2]: [PHP-GTK] how to connect to oracle
References: 1 2 3  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1700@lists.php.net to get a copy of this message
It seems that the oracle module is not loaded either php_oci8.dll or php_oci8.so Check you php.ini to see if the module is activated or it is where it has to be. Regards, Andrey ----- Original Message ----- From: "ketutg" <ketutg@yahoo.com> To: "Markus Fischer" <mfischer@guru.josefine.at> Cc: "PHP-GTK" <php-gtk-general@lists.php.net> Sent: Tuesday, April 02, 2002 1:18 PM Subject: Re[2]: [PHP-GTK] how to connect to oracle > Hello Markus, > > Tuesday, April 02, 2002, 5:11:25 PM, you wrote: > > MF> On Tue, Apr 02, 2002 at 05:01:48PM +0700, ketutg wrote : > >> Haloo everone > >> > >> > >> how i can connect to oracle with php-gtk ??? > > MF> ocilogon() and friends, see http://php.net/oci8 > > > why myscript error, message like this > > "call to undefined > function : ocilogon()" > > > putenv('ORACLE_SID=Daidata'); > putenv('ORACLE_HOME=c:\oracle\ora8'); > putenv('TNS_ADMIN=c:\oracle\ora8\net80\admin'); > $connection = oCILogon("daisystem","rujak","dai") > or die("Couldn't logon to database."); > $sql = "SELECT customer_name FROM customers" ; > $sql_statement = OCIParse($connection,$sql) > or die("Couldn't parse statement."); > OCIExecute($sql_statement) > or die("Couldn't execute statement."); > $num_columns = OCINumCols($sql_statement); > > > -- > Best regards, > ketutg mailto:ketutg@yahoo.com > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.gtk.general (#1700) next »