ibase_connect...how to specify a port?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How do you specify a port to connect to? I tried using localhost:3050 (3050 is the default port that Firebird) and that didn't work.


$host = 'localhost:/path/to/your.gdb' ;
$username = 'SYSDBA';
$password = 'masterkey';

   $dbh = ibase_connect ( $host , $username , $password );
--
-James

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux