PHP: Firebird/Interbase Functions (PDO_FIREBIRD) - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

PDO_FIREBIRD DSN ibase_wait_event

Last updated: Fri, 26 Jan 2007

view this page in

# XLIII. Firebird/Interbase Functions (PDO_FIREBIRD)

# Введение

Внимание
Это расширение является ЭКСПЕРИМЕНТАЛЬНЫМ. Поведение этого расширения, включая имена его функций и относящуюся к нему документацию, может измениться в последующих версиях PHP без уведомления. Используйте это расширение на свой страх и риск.

PDO_FIREBIRD is a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to Firebird and Interbase databases.
add a note User Contributed Notes
Firebird/Interbase Functions (PDO_FIREBIRD)
Darren
08-Mar-2006 05:18
`After much trial and error i found out you should use the following to connect to a firebird database:
<?php
$db = new PDO ("firebird:dbname=localhost:C:\\path\\to\\database\\MyDatabase.FDB", "username", "password");
?>
NOTE: in the 1st part of the connection string there can be NO spaces else you will get NULL.
The string provided on this site does not work and will give no error only NULL.`
thomas at last-it dot de
04-Feb-2006 05:52
`if youre dsn syntax is wrong, see ritsaert's comment, there maybe no errormessage!`
ritsaert at continuit dot nl
18-Dec-2005 06:43
`The connection string for a firebird PDO connection is different than described above. It is something like:
$DB = new PDO("firebird:dbname=T:\\Klimreg.GDB", "SYSDBA", "masterkey");
after dbname= the default connection string for Interbase and Firebird databases is used as presented to either gds32.dll or fbclient.dll.`
add a note
PDO_FIREBIRD DSN ibase_wait_event

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST