RE: PHP+WIN2000+Interbase6.0
| From: | Sandy Ganz | Date: | Tue, 08 Aug 2000 20:26:46 +0000 |
| Subject: | RE: PHP+WIN2000+Interbase6.0 | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-1641@lists.php.net to get a copy of this message | ||
Do you have the interbase.dll loaded in the php.ini file?
Sandy
-----Original Message-----
From: Toni Tunkkari [mailto:toni.tunkkari@finebyte.com]
Sent: Tuesday, August 08, 2000 1:06 AM
To: php-windows@lists.php.net
Subject: PHP+WIN2000+Interbase6.0
Hello!
What do I need to get InterBase6.0 -databases to work with WIN2000. Do I
need any extra dll's.
I tried next script:
<?php
$host = "10.0.2.104:c:\Ibase\tehdasdb\tehdas.gdb";
$dbh = ibase_connect ($host, "SYSDBA", "masterkey");
$stmt = 'SELECT * FROM TBL_L1';
$sth = ibase_query ($dbh, $stmt);
while ($row = ibase_fetch_object ($sth)) {
print $row->NAME . "\n";
}
PHP gets error:
Fatal error: Call to undefined function: ibase_connect() in
C:\inetpub\wwwroot\index.php on line 27
Some information of my computer and software:
- INTEL PIII 450
- Interbase 6.0 -database
- PHP 4.0.0
- OmniHTTP www server
- Microsoft IE5.0
I would be very happy if you can help me.
Toni Tunkkari
Projektipäällikkö
Finebyte Oy
Email: toni.tunkkari@finebyte.com
Työ(GSM). 06 8366503
Koti GSM. 040 5111425