Oracle Tips by Burleson
OCI stands for “Oracle Call Interface”. The OCI8
module introduced in this chapter is from PHP5. PHP4 supported both
the OCI8 module and an old OCI module used to connect to Oracle7 and
earlier versions. PHP 5 no longer supports the old OCI calls that
originated from version 6 of Oracle RDBMS. This
chapter describes the OCI8 module in detail and consists of the
Connecting to Oracle - This section describes
various methods for establishing database connections.
Handling Errors - This section presents examples
for handling errors by using the oci_error function.
Executing SQL - This section reveals the stages
of SQL execution and the description and use of the oci_execute() function.
Binding and Defining Variables - This section
describes placeholders and how to “relate” them to script variables.
It shows how to execute PL/SQL procedures and how to bind values to
Auxiliary OCI8 Functions - This section displays
the results of a query as a HTML table in example form.
Oracle Cursors - This section shows how to bind
variables to cursors.
Large Objects - This section reveals what large
objects are used for, and how to load large documents into a database.
Get Method - This section describes combining the
GET method with PL/SQL, and how to invoke a PHP script with parameters
encoded in the URL.
In many ways, this chapter is central for this
book as it describes in great detail the most basic method that can be
used to establish a communication between an Oracle database and a PHP
code depot for complete scripts
The above book excerpt is from:
Create Dynamic Web Pages with Oracle Data