php man page for ifx_connect

Query: ifx_connect

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

IFX_CONNECT(3)								 1							    IFX_CONNECT(3)

ifx_connect - Open Informix server connection

SYNOPSIS
resource ifx_connect ([string $database], [string $userid], [string $password])
DESCRIPTION
ifx_connect(3) establishes a connection to an Informix server. In case a second call is made to ifx_connect(3) with the same arguments, no new link will be established, but instead, the link identifier of the already opened link will be returned. The link to the server will be closed as soon as the execution of the script ends, unless it's closed earlier by explicitly calling ifx_close(3).
PARAMETERS
All of the arguments are optional, and if they're missing, defaults are taken from values supplied in php.ini (ifx.default_host for the host (Informix libraries will use INFORMIXSERVER environment value if not defined), ifx.default_user for user, ifx.default_password for the password (none if not defined). o $database - The database name, as a string. o $userid - The username, as a string. o $password - The password, as a string.
RETURN VALUES
Returns a connection identifier on success, or FALSE on error.
EXAMPLES
Example #1 Connect to a Informix database <?php $conn_id = ifx_connect ("mydb@ol_srv1", "imyself", "mypassword"); ?>
SEE ALSO
ifx_pconnect(3), ifx_close(3). PHP Documentation Group IFX_CONNECT(3)
Related Man Pages
ibase_pconnect(3) - php
mssql_connect(3) - php
fbsql_pconnect(3) - php
ifx_query(3) - php
ingres_pconnect(3) - php
Similar Topics in the Unix Linux Community
Unix/Informix and CTI
Inserting a new column in a file
AIX 5.3 userid password length to 6
Kernel parameters for Informix on Open Server 6
Change processor compatibility mode without hmc