RE: [PHP-DB] PHP on Unix, MS Access on NT clarification

From: Date: Fri, 07 Jul 2000 12:36:29 +0000
Subject: RE: [PHP-DB] PHP on Unix, MS Access on NT clarification
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-936@lists.php.net to get a copy of this message
Samuel, 1. create a DSN on the NT box, using the MS driver, call it 'foo' for this example. 2. setup your DSN in the odbc.ini on the linux box, ServerType = odbc, Database = foo, Host = <nt box name or IP> That should get you connected :) Best regards, Andrew ---------------------------------------------------- Andrew Hill Professional Services Consultant OpenLink Software http://www.openlinksw.com Universal Database Connectivity Technology Providers -----Original Message----- From: Samuel E. Goin [mailto:samgoin@samgoin.com] Sent: Thursday, July 06, 2000 7:14 PM To: php-db@lists.php.net Subject: [PHP-DB] PHP on Unix, MS Access on NT clarification Hi, Can anybody show me an example of the syntax to make a database connection from a php script on a unix box to a MS Access database on an NT box? How do I tell odbc_connect() which machine (IP) the ODBC data source with the given DSN resides on? Is the IP somehow part of the DSN, like "1.2.3.4:ODBCTEST"? (I know this is inefficient, but I am bound by customer preferences). Thanks, Sam Goin

« previous php.db (#936) next »