test / pear/db
   
    mailling@bigfoot.com
     
    mailling@bigfoot.com
       
    Thu, 19 Jul 2001 20:34:41 -0500
    
    
  
It seems that the pear available with php4.0.6 is not enough and we need to 
download the last one (see last threads for details about quotestring).  So 
we need to improve test.php
Here is a patch
The only thing is I am not sure about the api version of the API bundled 
with php 4.0.6 or before.
If it is not enough, we will need either to make a test with quotestring, 
or to find something else?
Anyway, I think it is still important to check the API version. We could 
add a specific message also
//Check the version of the pear database API, changed in the quoteString()
if ($peardb)
{
	$peardbversion='0';
	$peardbversion=@DB::apiVersion();
	if ($peardbversion<'2')
		$peardb=false;
}