Subject Re: [firebird-php] Default TIL for transaction
Author Milan Babuskov
Jiri Cincura wrote:
> On Tue, Dec 21, 2010 at 11:40, Lester Caine <lester@...> wrote:
>> You just use the 'transaction' handle rather than the connection handle in the
>> call
>
> Almost impossible. fbird_query is scattered all over the PHP code. :(
> I'll probably leave it as is.

Here's an idea:

change and recompile interbase.so or interbase.dll PHP extension so that
ibase_query and other functions are not called ibase_query but something
different, say my_ibase_query. Write a regular PHP function called
ibase_query that would start the implicit transaction and call
my_ibase_query in turn.

--
Milan Babuskov

==================================
The easiest way to import XML, CSV
and textual files into Firebird:
http://www.guacosoft.com/xmlwizard
==================================