Hello,
I have a problem using Interbase with PHP.
This is a example from the PHP Manual :
<?php
$dbh = ibase_connect ($host, $username, $password);
$stmt = 'SELECT * FROM tblname';
$sth = ibase_query ($dbh, $stmt);
while ($row = ibase_fetch_object ($sth)) {
print $row->email . "\n";
}
ibase_close ($dbh);
?>
I recieve the following message:
" Warning: InterBase: unavailable database in d:\inetpub\wwwroot\interbase.php on line 2 "
and I don't know what value to set to $host. I tryed different things but it doesn't work.
My database is D:\Data\userinfo.gdb
What must I set to $host variable, so I be able to connect to database.
Interbase is correctly installed, I use it with Delphi.