Re: DB.php -- PEAR, testers needed

From: Date: Mon, 06 Mar 2000 05:46:56 +0000
Subject: Re: DB.php -- PEAR, testers needed
References: 1  Groups: php.pear 
Request: Send a blank email to php-pear+get-68@lists.php.net to get a copy of this message
Sterling Hughes wrote: > > Hi, > I wrote a couple of classes that will plug in to the DB.php module, (ie > DBD's in Perl). Anyway I don't currently have support for the databases and > PHP4 at the same time, so while I can test for a parse error (which there is > none), I cannot test whether or not the scripts will work the respective > databases (it seems logical that they would as far as the source is concerned, > yet they need to be tested before they are added). I have posted them at the > following URL's > > http://www.designmultimedia.com/db_pear/mssql.php.txt > http://www.designmultimedia.com/db_pear/sybase.php.txt > http://www.designmultimedia.com/db_pear/msql.php.txt > http://www.designmultimedia.com/db_pear/ibase.php.txt -- This > won't work until > the new interbase functions for PHP4 are added. > > I would appreciate any feedback that you have. > > Thank you, > Sterling Hughes > sterling@designmultimedia.com > > PS -- Stig, since most of the functions do not return error numbers, I return > the normal, bland DB_ERROR, is this something I should be doing? If this is the best that can be done, it's ok. But as far as possible, we should try adding the necessary error code functions to the database extensions to make sure that the error codes are accurate. I don't have msql, mssql, subase or interbase installed yet, so I can't test your code right now. - Stig

« previous php.pear (#68) next »