[PHP] Persistent connection to Oracle with OCI

2001-12-28 Thread Berlina

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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Persistent connection to Oracle with OCI

2001-12-18 Thread Berlina

Hi again to everybody,

first sorry for my poor english.

 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.20 on a Linux RedHat 7.0
* PHP: 4.0.6 compiled with oracle module functions (OCI*)
* Data Base: Oracle 8.0.5 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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]