Subject Re: [firebird-php] Firebird 2.0 Beta 2
Author Lutz Brückner
Paul schrieb:
>> anyone out there who has success with Firebird 2.0 Beta 2 and php? All I
>> get when I try to connect with php to a Firebird database is the error
>> 'Invalid clumplet buffer structure: buffer end before end of clumplet -
>> clumplet too long'. I can connect with isql and the database is freshly
>> created with isql. Is it worth deeper investigations or is it just not
>> yet supported?
>>
>> My setup details: Suse 10.0 X86-64, php 5.1.3-dev,
>> FirebirdCS-2.0.0.12169-Beta2.amd64.rpm
>>
>> Thanks, Lutz

> Did you ever resolve this?

this seems to be a php error with firebird2 on amd64. Everything is
working ok for me when I connect this way:

$connect=ibase_connect($host, $username, $password);

But I get the error when I'm giving more parameters.

You can use iniset to set the charset for the connetion,
ini_set('ibase.default_charset', 'ISO8859_1'), before the
ibase_connect() call.

hth, Lutz