I use odbc to connect to mainframe databases, and they are definitely remote from my web server, and to access the mainframe database, the mainframe needed to support tcp/ip on the database end and I needed a special driver on the ODBC end. Perhaps the odbc driver routine is the key (check your odbc manager utility, if you have one, and try adding the datasource, looking for host name provisions). Hope this helps, Warren Vail -----Original Message----- From: Peter Kuma [mailto:yup@xxxxxxxxxx] Sent: Wednesday, June 07, 2006 2:51 PM To: php-general@xxxxxxxxxxxxx Subject: Re: odbc remote Benjamin Adams wrote: > how do I do a remote connection for odbc? > Everything that I see is on the local machine. > Can you do an odbc to a remote database? As far as I know ODBC can be used only locally. Although some kind of forwarding utilities might exist. Maybe it could be accomplished by windows sharing (eg if your database is MS Access). Peter Kuma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php