ibase_connect...how to specify a port?
| From: | James | Date: | Tue, 26 Jul 2005 19:26:42 +0000 |
| Subject: | ibase_connect...how to specify a port? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-219375@lists.php.net to get a copy of this message | ||
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