Connecting to a Sybase server?
| From: | Francisco Reyes | Date: | Tue, 12 Feb 2002 19:02:10 +0000 |
| Subject: | Connecting to a Sybase server? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-84415@lists.php.net to get a copy of this message | ||
Anyone successfully using Sybase with PHP?
I have looked at the archives and the online notes to the manual, but
still have not been successful connecting to a sybase server.
We are trying with the CT drivers.
In particular I don't see how to specify the "database" and port.
sybase_connect is:
int sybase_connect ( string servername, string username, string password
[, string charset])
For instance I have been given the database server IP address, the
database name and the Port (3000).
How would I specify the database on sybase_connect?
I can connect to the machine from a windows machine using ODBC.