Re: PHP Unified ODBC and SQLDriverConnect
| From: | Stig Bakken | Date: | Fri, 18 Dec 1998 09:55:29 +0000 |
| Subject: | Re: PHP Unified ODBC and SQLDriverConnect | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-2836@lists.php.net to get a copy of this message | ||
Steve Williams wrote:
>
> Looking at the unified_odbc.c module for PHP it appears that OpenLink
> uses SQLDriverConnect whilst all other drivers use SQLConnect.
>
> SQLConnect requires the presence of an ODBC.INI file to work correctly.
> Would it not be preferable to allow user access to SQLDriverConnect via
> an extra odbc_connect () option in PHP, so that they would not have to
> use an ODBC.INI file?
>
> (or am I missing something?).
If the library implements both functions, such an option would probably be
desireable. But some libraries (Solid's at least) only implements
SQLConnect(), so it'll have to be a compile-time option as well.
- Stig
--
Stig S. Bakken Guardian Networks AS -
mailto:ssb@guardian.no Trondheim, Norway
http://www.pvv.org/~ssb/ http://www.guardian.no/
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net