Subject | Re: [firebird-php] Using events |
---|---|
Author | Lester Caine |
Post date | 2015-08-26T12:47:30Z |
On 25/08/15 22:33, amfesvp@... [firebird-php] wrote:
Been a long time since I actually used events ... probably back to
Interbase days and so only with windows applications. Not found a need
yet in PHP ones, but that is probably more to do with the fact that most
applications are cross database and nothing else can emulate the facility ;)
Scraping the grey cells ...
ibase_wait_event( $dbh, "raw_line_handler" )
"raw_line_handler" needs to be the name of the event being created and
you can have up to 15 set, so the return is the actual one that was
detected.
The problem is that I'm not sure if this has been fully tested recently.
Anybody using it?
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
> Assuming I've got that part right - over in php land I have theDaniel
> following. Obviously I'm doing something wrong - I just have no clue
> what yet. The output of the below gives me my two sanity checks - but
> nothing from the loop.
Been a long time since I actually used events ... probably back to
Interbase days and so only with windows applications. Not found a need
yet in PHP ones, but that is probably more to do with the fact that most
applications are cross database and nothing else can emulate the facility ;)
Scraping the grey cells ...
ibase_wait_event( $dbh, "raw_line_handler" )
"raw_line_handler" needs to be the name of the event being created and
you can have up to 15 set, so the return is the actual one that was
detected.
The problem is that I'm not sure if this has been fully tested recently.
Anybody using it?
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk