Forum Moderators: coopster

Message Too Old, No Replies

remote DSN connection

Connecting to an SQL Anywhere database on a remote machine

         

nighthawk

8:42 am on Sep 8, 2005 (gmt 0)

10+ Year Member



I am trying to set up a website to connect to an SQL Anywhere database located on a remote machine.

The webserver is located on a linux server, while the database is running on a windows machine on the local network.

How can I connect to this remote database, and what ports will I have to enable access to through the firewall?

coopster

3:07 pm on Sep 8, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, nighthawk.

I don't believe there are any SQL-Anywhere-specific functions in PHP, but the Unified ODBC Functions [php.net] may work for you here, providing Sybase has a driver you can install and use. You may need to contact Sybase.