Re: PHP on Unix, MS Access on NT clarification
| From: | Szii | Date: | Fri, 07 Jul 2000 17:30:50 +0000 |
| Subject: | Re: PHP on Unix, MS Access on NT clarification | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-957@lists.php.net to get a copy of this message | ||
Before you can give odbc_connect() a DSN, you have to set one up (a DSN) in
the system.
Here's one site the does ODBC on linux...
http://www.easysoft.com/products/oob/main.phtml
Or you can use the iodbc manager (don't remember where it is.)
Once you have the DSN setup in there (IP, port, etc) then you can pass the
DSN into odbc_connect().
Late.
-Szii
At 04:14 PM 7/6/00 -0700, Samuel E. Goin wrote:
>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
>
>