<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Firebird Functions (PDO_FIREBIRD)</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="ref.pdo-dblib.connection.html">PDO_DBLIB DSN</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.pdo-firebird.connection.html">PDO_FIREBIRD DSN</a></div> <div class="up"><a href="pdo.drivers.html">PDO Drivers</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="ref.pdo-firebird" class="reference"> <h1 class="title">Firebird Functions (PDO_FIREBIRD)</h1> <div class="partintro"> <div class="section" id="pdo-firebird.intro"> <h2 class="title">Introduction</h2> <p class="para"> PDO_FIREBIRD is a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to Firebird database. </p> </div> <div class="section" id="ref.pdo-firebird.installation"> <h2 class="title">Installation</h2> <p class="para"> Use <strong class="option configure">--with-pdo-firebird[=DIR]</strong> to install the PDO Firebird extension, where the optional <em>[=DIR]</em> is the Firebird base install directory. <div class="example-contents screen"> <div class="cdata"><pre> $ ./configure --with-pdo-firebird </pre></div> </div> </p> </div> <div class="section" id="pdo-firebird.constants"> <h2 class="title">Predefined Constants</h2> <p class="simpara">The constants below are defined by this driver, and will only be available when the extension has been either compiled into PHP or dynamically loaded at runtime. In addition, these driver-specific constants should only be used if you are using this driver. Using driver-specific attributes with another driver may result in unexpected behaviour. <span class="function"><a href="pdo.getattribute.html" class="function">PDO::getAttribute()</a></span> may be used to obtain the <strong><code>PDO_ATTR_DRIVER_NAME</code></strong> attribute to check the driver, if your code can run against multiple drivers.</p> <dl> <dt id="pdo.constants.fb-attr-date-format"> <span class="term"> <strong><code>PDO::FB_ATTR_DATE_FORMAT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <p class="para"> Available since PHP 5.3.0. </p> <p class="para"> Sets the date format. </p> </dd> </dt> <dt id="pdo.constants.fb-attr-time-format"> <span class="term"> <strong><code>PDO::FB_ATTR_TIME_FORMAT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <p class="para"> Sets the time format. </p> <p class="para"> Available since PHP 5.3.0. </p> </dd> </dt> <dt id="pdo.constants.fb-attr-timestamp-format"> <span class="term"> <strong><code>PDO::FB_ATTR_TIMESTAMP_FORMAT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <p class="para"> Sets the timestamp format. </p> <p class="para"> Available since PHP 5.3.0. </p> </dd> </dt> </dl> </div> </div> <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="ref.pdo-firebird.connection.html">PDO_FIREBIRD DSN</a> — Connecting to Firebird databases</li></ul> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="ref.pdo-dblib.connection.html">PDO_DBLIB DSN</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.pdo-firebird.connection.html">PDO_FIREBIRD DSN</a></div> <div class="up"><a href="pdo.drivers.html">PDO Drivers</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>