Subject pb connection interbase-php3-apache under WNT/2000
Author j2pnet@free.fr
this script run with interbase,appache and php installed
with W98

but hang with WNT/W2000 why?

<?PHP
$host="d:\sql\ceca06.gdb";
$username="SYSDBA";
$password="masterkey";
$dbh = ibase_pconnect ($host, $username, $password);
echo $dbh;
$stmt = 'SELECT cer,sigle FROM UNITES where not (cer like
"%VA")and
not (cer like "%HP") order by cer';
$sth = ibase_query ($dbh, $stmt);
$i=0;
while ($row = ibase_fetch_row ($sth)) {
$max=count($row);
$j=0;$ligne="";
while ($j<$max){
$ligne.="$row[$j]\t";
$j++;
}
echo "$i"." - "."$ligne\t<br>\n";
$i++;
}
ibase_close ($dbh);
?>

j2p@...

http://www.j2p.net