Re: Ynt: [PHP-DB] Again: Interbase DLL
| From: | Todd Cary | Date: | Thu, 17 Aug 2000 04:05:43 +0000 |
| Subject: | Re: Ynt: [PHP-DB] Again: Interbase DLL | ||
| References: | 1 2 3 4 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-2111@lists.php.net to get a copy of this message | ||
I am trying to connect with an Interbase DB using PHP 4 (special
Interbase binary) on an NT platform using IIS. I get the following
error:
Fatal error: Call to undefined function: ibase_connect() in
C:\Webroot\Interbase.php on line 5
Here is the code:
<?php
$host = 'C:\~tmp\Employee.gdb';
$user = 'SYSDBA';
$password = 'masterkey';
$dbh = ibase_connect($host, $user, $password);
print($dbh);
$stmt = 'SELECT * FROM STYLES';
$sth = ibase_query($dbh, $stmt);
print($sth);
while ($row = ibase_fetch_object($sth)) {
print($row);
}
ibase_close($dbh);
?>
Any suggestions?
Todd
--
Todd Cary
Ariste Software
todd@aristesoftware.com