[firebase-br] php x firebird
FM
listafirebird em bol.com.br
Seg Mar 14 09:05:52 -03 2005
Bom Dia,
estou tentando fazer conexao php x firebird e a mesma esta apresentando o seguinte erro:
Warning: InterBase: I/O error for file "C:\Iboconsole\Fernando.FDB" Error while trying to open file O sistema não pode encontrar o arquivo especificado. in c:\arquivos de programas\easyphp\www\index.php on line 8
Não foi possível conectar
o codigo do arquivo PHP e o seguinte:
<html>
<head><title> pagina de teste </title></head>
<body>
<?php
$conexao = ibase_connect('192.168.15.95:C:\Iboconsole\Fernando.FDB','SYSDBA','masterkey',
'ISO8859_1',0,3) or die('Não foi possível conectar');
if ($conexao)
{
$resultado = ibase_query($conexao,'SELECT COUNTRY FROM
COUNTRY ORDER BY COUNTRY');
while ($objresultado = ibase_fetch_object($resultado))
{
echo $objresultado->COUNTRY . "<br>";
}
}
ibase_close($conexao);
?>
</body>
</html>
se alguem me indicar o q esta errado eu agradeço...
Mais detalhes sobre a lista de discussão lista