超越PHP PHP动态 | 经典文章 | CLASS | 相关下载 | 常见问题 | FORUM | WIKI | 在线手册
Site search:    
<ora_parseora_rollback>
Last updated: Fri, 22 Jun 2007

ora_plogon

(PHP 3, PHP 4 , PHP 5)

ora_plogon --  打开一个持久的 Oracle 连接

描述

resource ora_plogon ( string user, string password)

用给定的用户名 user 和密码 password 在 PHP 和一个 Oracle 数据库之间建立一个持久的连接。

参见 ora_logon()




add a note add a note User Contributed Notes
ora_plogon
digitalCoffee at zdnetonebox dot com
04-Oct-2000 10: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_parseora_rollback>
 Last updated: Fri, 22 Jun 2007
view source | feedback | send page | sitemap | aboutus   
Copyright ® 2002-2003 PHPE.NET. All rights reserved
Last updated:2002-11-22