| I. | Na początek | |
| II. | Instalacja i konfiguracja | |
| III. | Opis języka | |
| IV. | Bezpieczeństwo | |
| V. | Możliwości | |
| VI. | Opis funkcji | |
| VII. | Zend API | |
| VIII. | PHP API: Interfejs rozszerzeń | |
| X. | Dodatki | |
Copyright © 1997-2006 the PHP Documentation Group
ocilogon() returns an connection identifier needed for most other OCI calls. 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.
Używając serwera Oracle w wersji 9.2 lub nowszej można podać parametr charset, który zostanie użyty przy nowym połączeniu. Używając serwera Oracle < 9.2 ten parametr zostanie zignorowany, a zamiast niego użyta zostanie zmienna środowiskowa NLS_LANG.
Connections are shared at the page level when using ocilogon(). This means that commits and rollbacks apply to all open transactions in the page, even if you have created multiple connections.
This example demonstrates how the connections are shared.
Notatka: This function was renamed to oci_connect() after PHP >= 5.0.0. For downward compatibility ocilogon() can also be used. This is deprecated, however.
| Poprzedni | Spis treści | Następny |
| ocilogoff | Początek rozdziału | ocinewcollection |