note 4102 deleted from sybase_connect by joey

From: Date: Mon, 11 Dec 2000 02:22:44 +0000
Subject: note 4102 deleted from sybase_connect by joey
Groups: php.notes 
Request: Send a blank email to php-notes+get-8601@lists.php.net to get a copy of this message
The problem with sybase_connect function is that servername is not FQDN or an IP address of a server you want to connect to but an alias in an interfaces file. Syntax for this file is very simple, although I found nothing about it in Sybase documentation :-( All I've found was screenshots of tools modyfying this file... Anyway, you should set it up like this: <PRE> myserver query tcp ether srv.addr.com 2638 </PRE> The <PRE>myserver</PRE> is the name of alias you'll use un sybase_connect(). Instead of <PRE>srv.addr.com</PRE> you should enter FQDN or IP address of database server. <PRE>2638</PRE> is port number where your server is listening to (2638 is default). Hope this will help! Good luck!

« previous php.notes (#8601) next »