Subject Re: ADODB D4PHP PROBLEMS
Author dogrocket2003
--- In firebird-php@yahoogroups.com, "dogrocket2003"
<dogrocket2003@...> wrote:
>
> Ok, I found the source forge files for adodb ver 505, will try
thanks.. I updated to adodb ver 505 still getting error.
>
That didnt fix the problem :( still getting BLOB error

Delphi keeps popping up in debug at this spot in adodb-ibase.php, as
noted Im not even using blobs, though I do have a long edit field with
250 varchar... Im using a quadram dbrepeater panel thats built to use
adodb, I dont know what to do.

adodb-ibase.php, delphi editor highlights line where i put asterisk..

function _BlobDecode( $blob )
{
if (ADODB_PHPVER >= 0x5000) {
* $blob_data = ibase_blob_info($this->_connectionID, $blob );
$blobid = ibase_blob_open($this->_connectionID, $blob );
} else {

$blob_data = ibase_blob_info( $blob );
$blobid = ibase_blob_open( $blob );
}

if( $blob_data[0] > $this->maxblobsize ) {

$realblob = ibase_blob_get($blobid, $this->maxblobsize);

while($string = ibase_blob_get($blobid, 8192)){
$realblob .= $string;
}
} else {
$realblob = ibase_blob_get($blobid, $blob_data[0]);
}

ibase_blob_close( $blobid );
return( $realblob );
}