Persistent connection to Oracle with OCI

From: Date: Fri, 28 Dec 2001 10:10:46 +0000
Subject: Persistent connection to Oracle with OCI
Groups: php.db php.dev php.general 
Request: Send a blank email to php-dev+get-75168@lists.php.net to get a copy of this message
Hi to everybody, Im trying to use persistents connections to an Oracle Database through PHP, for manageing transactions, and have some problems. My Schema: * Web Server: Apache 1.3.22 on a Linux RedHat 7.0 * PHP: 4.1.1 compiled with oracle module functions (OCI*) * Data Base: Oracle 8.1.7 on a Windows NT Server I need to manage transactions to database. For it i made a test pages like this: * 1 index page that generate some frames and open a persistent connection to Oracle * 1 frame that made an insert to one table of the database, and reopen the persistent connection * 1 frame that made an insert to another table of the same database, and reopen the persistent connection * 1 frame with 2 buttons, one for execute a Commit and another for execture a Rollback When i was using the ORA_* functions, some times works well, but other times not work correctly... Now using the OCI* functions dont work. What im doing wrong? Can somebody help me? Avanced thanks

« previous php.dev (#75168) next »