PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ora_rollback> <ora_parse
Last updated: Sat, 24 Mar 2007

view this page in

ora_plogon

(PHP 4, PHP 5 <= 5.0.5)

ora_plogon — Open a persistent Oracle connection

Popis

resource ora_plogon ( string $user, string $password )

Establishes a persistent connection between PHP and an Oracle database.

Seznam parametrů

user

The user name.

password

The password associated with user.

Návratové hodnoty

Returns a persistent connection identifier, or FALSE on error.

ChangeLog (záznam změn)

VerzePopis
5.1.0

The oracle extension is deprecated in favor of oci8.

Poznámky

When using oci8 as a replacement for the deprecated oracle extension, consider using:

oci_pconnect()

Viz také

ora_logon()



add a note add a note User Contributed Notes
ora_plogon
digitalCoffee at zdnetonebox dot com
04-Oct-2000 07:16
When using the persistent login, php obviously does not disconnect, and therefore does not commit any changes you have made to the database.  This results in Oracle either locking up, or returning ORA-01554 (Out of transaction slots in transaction tables).

To resolve this, be sure to end your page with ora_commit($connection) (passing in your $connection id).

ora_rollback> <ora_parse
Last updated: Sat, 24 Mar 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites