Re: Interbase
| From: | Meir kriheli | Date: | Mon, 12 Mar 2001 00:09:46 +0000 |
| Subject: | Re: Interbase | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7295@lists.php.net to get a copy of this message | ||
On Thursday 08 March 2001 23:05, you wrote:
> I am trying to connect to local Interbase server, folowing exactly PHP
> online documentation. But I always get a warning:
> "InterBase: unavailable database in d:\program files\apache
> group\apache\htdocs\\tabulka.php on line 22"
>
> my script is:
> $db=ibase_connect('D:\Program
> Files\Borland\Interbase\Examples\Databse\employee.gdb', $username,
> $password);
>
> and I am using Apache under Windows NT 4.
>
> Does anybody see a mistake? Thank you for your help
>
> Martin
You've misspelled your db path, you've wrote ...\Examples\Databse....
instead of ...\Examples\Database....
BTW, the coreect connection string for interbase (using tcp/ip) is
<hostname>:<path\to\your\db\including\filename>
HTH
--
Meir Kriheli
There's someone in my head, but it's not me - Pink Floyd