RE: [PHP-DB] file dsn's or direct specification
| From: | Andrew Hill | Date: | Fri, 07 Jul 2000 14:27:24 +0000 |
| Subject: | RE: [PHP-DB] file dsn's or direct specification | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-941@lists.php.net to get a copy of this message | ||
Hi Avrum,
ODBC itself supports 'DSN-less' connects, e.g. you could use something like
this in your connect string:
Driver={OpenLink Generic 32 Bit Driver};HOST=localhost;ServerType=SQLServer
7;Database=pubs;UID=sa;PWD=
Hope this helps!
Best regards,
Andrew
----------------------------------------------------
Andrew Hill
Professional Services Consultant
OpenLink Software
http://www.openlinksw.com
Universal Database Connectivity Technology Providers
-----Original Message-----
From: Avrum Goodblatt [mailto:goodblat@sprynet.com]
Sent: Thursday, July 06, 2000 5:06 PM
To: php-db@lists.php.net
Subject: [PHP-DB] file dsn's or direct specification
I've looked through the archives and cannot find a definitive answer to the
following questions:
1. is it possible to use file dsn's for odbc with php?
2. is it possible to directly specify, instead of using a dsn
i.e. odbc_connect(odbc;driver= ...
Some comments seem to imply that neither can be done.
Does anyone know for sure?
--------------------------------------------------
Avrum Goodblatt goodblat@sprynet.com (415) 9451368
http://home.sprynet.com/~goodblat
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net