Interbase + PHP Error

From: Date: Thu, 01 Mar 2001 14:19:14 +0000
Subject: Interbase + PHP Error
Groups: php.db 
Request: Send a blank email to php-db+get-7047@lists.php.net to get a copy of this message
I am getting this error, but I don't know what the reason is for this error. can somebody help me out? Warning: InterBase: Unable to complete network request to host "localhost". Failed to establish a connection. Connection refused in /home/httpd/html/test/php-test/ibconnect.php on line 12 Can't connect to CV.gdb with SYSDBA user. Ibconnect.php look likes this: <html> <head> <title>InterBase ISQL</title> </head> <? $ibdir="/home/http/html/test/php-test/"; ?> <BODY bgcolor="#ffffff" text="black"><font face="arial,verdana,helvetica" size=3> <b>InterBase Connect</b></font> <p> <? $ibfullname="localhost:" . $ibdir . $ibname; $conn=ibase_connect($ibfullname,$login,$password); if (!$conn) { echo "Can't connect to $ibname with $login user."; } else { echo "$ibname connected by $login user."; ibase_close($conn); } ?> <FORM ACTION="ibquery.php" METHOD="POST"> <table border=0 cellpadding=15 cellspacing=0 bgcolor="#6699cc"> <tr> <td><font face='arial, helvetica' size=2>Enter your query:</font><br> <TEXTAREA NAME="query" ROWS="8" COLS="50"></textarea></td> </tr><tr> <td> <INPUT TYPE=submit VALUE="Send"> <INPUT VALUE="Clear" TYPE=reset> <INPUT TYPE='HIDDEN' NAME='login' <? echo "VALUE='$login'>"; ?> > <INPUT TYPE='HIDDEN' NAME='password' <? echo "VALUE='$password'>"; ?> > <INPUT TYPE='HIDDEN' NAME='ibname' <? echo "VALUE='$ibname'>"; ?> > </td> </tr> </table> </form> </body> </html> Thnx for the help. Wicky

« previous php.db (#7047) next »