Subject | Connecting to firebird... |
---|---|
Author | matty400m |
Post date | 2005-04-11T16:15:27Z |
I'm a novice with Firebird and I have a problem.
I use Php(4.3.3) and Firebird(2.0).
When I try to connect at the database file with function:
$host = 'localhost:C:/Program
Files/Firebird/Firebird_2_0/examples/empbuild/Employee.fdb';
$username = 'SYSDBA';
$password = 'masterkey';
$dbh = ibase_connect ( $host, $username, $password ) or die ("error in
db connect");
Php send this message:
"Warning: ibase_connect(): Unable to complete network request to host
"localhost". Failed to locate host machine. Undefined service
gds_db/tcp. in C:\Documents and
Settings\Administrator\Desktop\prova.php on line 14
error in db connect"
ps: sorry for my english...
I use Php(4.3.3) and Firebird(2.0).
When I try to connect at the database file with function:
$host = 'localhost:C:/Program
Files/Firebird/Firebird_2_0/examples/empbuild/Employee.fdb';
$username = 'SYSDBA';
$password = 'masterkey';
$dbh = ibase_connect ( $host, $username, $password ) or die ("error in
db connect");
Php send this message:
"Warning: ibase_connect(): Unable to complete network request to host
"localhost". Failed to locate host machine. Undefined service
gds_db/tcp. in C:\Documents and
Settings\Administrator\Desktop\prova.php on line 14
error in db connect"
ps: sorry for my english...