★ wanayoo — archive 1999 http://fr.php.net/manual/function.odbc-pconnect.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to ODBC
Quick Reference
English version of this pageGerman version of this pageJapanese version of this page
Italian version of this pageFrench version of this pageHungarian version of this page
Spanish version of this pageDutch version of this pageBrazilian Portuguese version of this page
Korean version of this pageCzech version of this page
ODBC
* odbc_autocommit
* odbc_binmode
* odbc_close
* odbc_close_all
* odbc_commit
* odbc_connect
* odbc_cursor
* odbc_do
* odbc_exec
* odbc_execute
* odbc_fetch_into
* odbc_fetch_row
* odbc_field_name
* odbc_field_num
* odbc_field_type
* odbc_field_len
* odbc_field_precision
* odbc_field_scale
* odbc_free_result
* odbc_longreadlen
* odbc_num_fields
* odbc_pconnect
* odbc_prepare
* odbc_num_rows
* odbc_result
* odbc_result_all
* odbc_rollback
* odbc_setoption
* odbc_tables
* odbc_tableprivileges
* odbc_columns
* odbc_columnprivileges
* odbc_gettypeinfo
* odbc_primarykeys
* odbc_foreignkeys
* odbc_procedures
* odbc_procedurecolumns
* odbc_specialcolumns
* odbc_statistics

  Thanks to:
 Chek.com
 easyDNS
 VA Linux Systems

  Related sites:
Apache
MySQL
PostgreSQL
Zend Tech.

  Community:
LinuxFund.org
OSDN
Manual: odbc_pconnect
View the source code for this pageSearch the site



Previous page
 odbc_num_fields
 Updated
Mon, 08 Jan 2001
odbc_prepare 
Next page


odbc_pconnect

(PHP 3>= 3.0.6, PHP 4 )

odbc_pconnect -- Open a persistent database connection

Description

int odbc_pconnect (string dsn, string user, string password [, int cursor_type])

Returns an ODBC connection id or 0 (false) on error. This function is much like odbc_connect(), except that the connection is not really closed when the script has finished. Future requests for a connection with the same dsn, user, password combination (via odbc_connect() and odbc_pconnect()) can reuse the persistent connection.

Note: Persistent connections have no effect if PHP is used as a CGI program.

For information about the optional cursor_type parameter see the odbc_connect() function. For more information on persistent connections, refer to the PHP FAQ.


 About Notes


Previous page
 odbc_num_fields
 Updated
Mon, 08 Jan 2001
odbc_prepare 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
France
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.