Re: PHP4 and InterBase
| From: | Zeev Suraski | Date: | Thu, 31 Aug 2000 20:57:25 +0000 |
| Subject: | Re: PHP4 and InterBase | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-2535@lists.php.net to get a copy of this message | ||
A patch to PHP from interbase.com? Can you point me to it?
On Wed, 30 Aug 2000, Johan Hanson wrote:
> 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/ --
>
>
>
>
--
Zeev Suraski <zeev@zend.com>
http://www.zend.com/