2002-04-15 00:12:54 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2002-10-24 15:06:41 +00:00
|
|
|
<!-- $Revision: 1.5 $ -->
|
2002-04-15 00:12:54 +00:00
|
|
|
|
|
|
|
<!--
|
|
|
|
If anyone from the translator group has problems with the
|
|
|
|
new version of this file, and finds too difficult the sync his
|
|
|
|
translation with this doc, please mail me: gerzson@php.net
|
|
|
|
-->
|
|
|
|
|
|
|
|
<reference id="ref.dbx">
|
|
|
|
<title>dbx functions</title>
|
|
|
|
<titleabbrev>dbx</titleabbrev>
|
2002-04-29 12:09:16 +00:00
|
|
|
|
2002-04-15 00:12:54 +00:00
|
|
|
<partintro>
|
2002-04-29 12:09:16 +00:00
|
|
|
<section id="dbx.intro">
|
|
|
|
&reftitle.intro;
|
|
|
|
<para>
|
|
|
|
The dbx module is a database abstraction layer (db 'X', where 'X'
|
|
|
|
is a supported database). The dbx functions allow you to access
|
|
|
|
all supported databases using a single calling convention.
|
|
|
|
The dbx-functions themselves do not interface directly to the
|
|
|
|
databases, but interface to the modules that are used to support
|
|
|
|
these databases.
|
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section id="dbx.required">
|
|
|
|
&reftitle.required;
|
|
|
|
<para>
|
|
|
|
To be able to use a database with the dbx-module, the module must be either
|
|
|
|
linked or loaded into PHP, and the database module must be supported by the
|
|
|
|
dbx-module. Currently, following databases are supported, but others
|
2002-10-24 15:06:41 +00:00
|
|
|
will follow:
|
2002-04-29 12:09:16 +00:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2002-05-13 15:31:24 +00:00
|
|
|
<link linkend="ref.fbsql">FrontBase</link> (available from PHP 4.1.0).
|
2002-04-29 12:09:16 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
<link linkend="ref.mssql">Microsoft SQL Server</link>
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
<link linkend="ref.mysql">MySQL</link>
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
<link linkend="ref.odbc">ODBC</link>
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
<link linkend="ref.pgsql">PostgreSQL</link>
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2002-05-13 15:31:24 +00:00
|
|
|
<link linkend="ref.sybase">Sybase-CT</link> (available from PHP 4.2.0).
|
2002-04-29 12:09:16 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
2002-10-24 15:06:41 +00:00
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
<link linkend="ref.oci8">Oracle (oci8)</link> (CVS only).
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
2002-04-29 12:09:16 +00:00
|
|
|
</itemizedlist>
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
Documentation for adding additional database support to dbx can be
|
|
|
|
found at <ulink url="&url.dbx.docs;">&url.dbx.docs;</ulink>.
|
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section id="dbx.installation">
|
|
|
|
&reftitle.install;
|
|
|
|
<para>
|
|
|
|
In order to have these functions available, you must compile PHP with
|
|
|
|
dbx support by using the <option role="configure">--enable-dbx</option>
|
|
|
|
option and all options for the databases that will be used, e.g. for
|
|
|
|
MySQL you must also specify
|
|
|
|
<option role="configure">--with-mysql=[DIR]</option>.
|
|
|
|
To get other supported databases to work with the dbx-module refer to their
|
|
|
|
specific documentation.
|
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section id="dbx.runtime">
|
|
|
|
&reftitle.runtime;
|
|
|
|
&no.config;
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section id="dbx.resources">
|
|
|
|
&reftitle.resources;
|
|
|
|
<para>
|
|
|
|
There are two resource types used in the dbx module. The first one is the
|
|
|
|
link-<type>object</type> for a database connection, the second a
|
|
|
|
result-<type>object</type> which helds the result of a query.
|
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
&reference.dbx.constants;
|
|
|
|
|
2002-04-15 00:12:54 +00:00
|
|
|
</partintro>
|
|
|
|
|
|
|
|
&reference.dbx.functions;
|
|
|
|
|
|
|
|
</reference>
|
2002-04-29 12:09:16 +00:00
|
|
|
|
2002-04-15 00:12:54 +00:00
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"../../../manual.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
2002-05-13 15:31:24 +00:00
|
|
|
-->
|