[PHP-DB] Re: [PHP-DEV] RFC: ODBC and PHP

2002-12-06 Thread Nick Gorham
Dan Kalowsky wrote: On Tue, 10 Sep 2002, Shane Caraveo wrote: Hmm, is there no way to make the functions work with both odbc versions? Have an odbc_set_version(int) function that can set the version of odbc to use. The default can be version 3. This way, with the addition of a single

[PHP-DB] Re: [PHP-DEV] RFC: ODBC and PHP

2002-09-10 Thread Wez Furlong
Hi Dan, On 11/09/02, Dan Kalowsky [EMAIL PROTECTED] wrote: - It will support ODBC v 3.0 and greater only. With the needs of many DBs ... I would like to add this into the current PHP system, to allow users to start playing with and testing as well. Well probably just as soon as I finish

[PHP-DB] Re: [PHP-DEV] RFC: ODBC and PHP

2002-09-10 Thread Dan Kalowsky
On Wed, 11 Sep 2002, Wez Furlong wrote: I know this probably isn't the kind of comment you want just now, but... If this is to support ODBC v3+, why not call the functions odbc3_xxx instead of odbc2_xxx? I think this could help prevent some head-scratching a little later down the track.

[PHP-DB] Re: [PHP-DEV] RFC: ODBC and PHP

2002-09-10 Thread Shane Caraveo
Hmm, is there no way to make the functions work with both odbc versions? Have an odbc_set_version(int) function that can set the version of odbc to use. The default can be version 3. This way, with the addition of a single function call, scripts can provide BC. Shane Dan Kalowsky wrote:

[PHP-DB] Re: [PHP-DEV] RFC: ODBC and PHP

2002-09-10 Thread Dan Kalowsky
On Tue, 10 Sep 2002, Shane Caraveo wrote: Hmm, is there no way to make the functions work with both odbc versions? Have an odbc_set_version(int) function that can set the version of odbc to use. The default can be version 3. This way, with the addition of a single function call, scripts

[PHP-DB] Re: [PHP-DEV] RFC: ODBC and PHP

2002-09-10 Thread Shane Caraveo
Ok, then I would be for ODBC 3 for PHP 5 as the standard. An ODBC 2 extension can be shuttled out to PECL for those who may need it. But for BC issues, there is still the nameing convention. I would personaly prefer that the odbc functions stay odbc_*, rather than to start iterating