Manuál PHP | ||
---|---|---|
Předcházející | Další |
(PHP 3>= 3.0.8, PHP 4 , PHP 5)
ociplogon -- Connect to an Oracle database using a persistent connectionociplogon() creates a persistent connection to an Oracle 8 database and logs on. The optional third parameter can either contain the name of the local Oracle instance or the name of the entry in tnsnames.ora to which you want to connect. If the optional third parameter is not specified, PHP uses the environment variables ORACLE_SID (Oracle instance) or TWO_TASK (tnsnames.ora) to determine which database to connect to.
Při použití serveru Oracle verze 9.2 a novější, můžete indikovat parametr charset, který se použije pro nové spojení. Používáte-li server Oracle < 9.2, tento parametr se bude ignorovat a místo něho se použije proměnná prostředí NLS_LANG.
Poznámka: This function was renamed to oci_pconnect() after PHP >= 5.0.0. For downward compatibility ociplogon() can also be used. This is deprecated, however.
Předcházející | Domů | Další |
ociparse | Nahoru | ociresult |