Access Violation with Interbase
| From: | Jordi J. Canals | Date: | Wed, 09 Aug 2000 01:38:30 +0000 |
| Subject: | Access Violation with Interbase | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-1648@lists.php.net to get a copy of this message | ||
Hi there,
I'm new at PHP and this is my platform :
Windows 2000 with IIS 5.0.
Interbase v6.0
I'm getting an Access Violation message when running a test script :
PHP has encountered an Access Violation at 00000000
The script I'm testing follows :
<html>
<head>
<title>Interbase Test</title>
<body>
<?php
$host = "192.168.1.100:c:\projectes\idb\employee.gdb";
$dbh = ibase_connect ($host, "SYSDBA", "masterkey");
$stmt = 'SELECT * FROM CUSTOMER';
$sth = ibase_query ($dbh, $stmt);
while ($row = ibase_fetch_object ($sth)) {
print $row->CUSTOMER . "\n";
}
?>
</body>
</html>
Help welcome
Thanks
Jordi J. Canals
jjcanals@retemail.es