Re: should I be using phplib?

From: Date: Tue, 05 Sep 2000 21:08:27 +0000
Subject: Re: should I be using phplib?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-2440@lists.php.net to get a copy of this message
Yes, PHPLIB does do what you ask. However, I would suggest to take a look at PEAR (included with PHP 4). It has a DB module that also does this. "Vince LaMonica" <Vince.LaMonica@quest.com> wrote in message news:Pine.WNT.4.21.0009011756310.308-100000@vlamonica.quest.com... > I'm just full of questions tonight [for those on the windoze list]. I have > a more generic one now, though. > > I'm developing a php4 application that will eventually run under both > windoze and your favorite *NIX flavor. It will also need access to a > database, such as Oracle 7, 8, Sybase, Informix, and M$ SQL Server. > > I do not want to hard code in my OCILogin functions in my php application, > as I would then have to write several different versions of the app [one > for each rdbms that i'm supposed to support]. > > From what I can gather at the phplib w3 site, phplib acts as a wrapper for > each of the APIs that php supports [except for Informix and Sybase :( ] > via DB_Sql [unless i'm reading this incorrectly]. > > But can phplib run with php4 under both windows and *nix? And, more > importantly, does it in fact do what I think it does? I would like to be > able to just have to edit a line or two to let php4/phplib know which > rdbms it should be wrapping for. There will be hundreds of SQL statements > in this code, and the nightmare of writting each one with the different > php database functions just sends chills up my spine. :) > > TIA, once again, > > /vjl/ > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.windows (#2440) next »