Re: PHP4 and InterBase
| From: | Johan Hanson | Date: | Wed, 30 Aug 2000 20:37:01 +0000 |
| Subject: | Re: PHP4 and InterBase | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-2533@lists.php.net to get a copy of this message | ||
Todd Cary wrote:
>
> I have not been able to get Interbase to work with NT and PHP 4.0.2.
> With PHP 4.0.1 the Intersolv ODBC would not work. So, I am anxiously
> waiting for someone to annouce that they have PHP 4 working with
> Interbase.
I am using Interbase 6.0, PHP 4.0.1pl2 and Apache under Linux
with a patch to PHP from interbase.com.
I am not sure it was necessary to add the patch, but it works.
Only problem I have is BLOB:s. I get "character set conversion error"
when trying to insert a text blob no matter what character set I
have defined for the tables.
I do:
$blob = ibase_blob_create();
ibase_blob_add($blob, "text");
ibase_blob_close($blob);
ibase_query($link, "INSERT INTO mytable (text) VALUES ($blob)";
Maybe I am doing something wrong.. I don't know, you tell me!
Greetings
/ Johan
-- johan@tiq.com -- http://www.obsession.se/johan/ --