Subject RE: [firebird-php] PHP-CLI and event handling
Author Rick Debay
I found a reference on the IBPhoenix web site to a Perl module, but it hasn't been updated in a few years and its event support is referred to as experimental.

-----Original Message-----
From: firebird-php@yahoogroups.com [mailto:firebird-php@yahoogroups.com] On Behalf Of Alan McDonald
Sent: Thursday, August 11, 2005 6:14 PM
To: firebird-php@yahoogroups.com
Subject: RE: [firebird-php] PHP-CLI and event handling

> We need to handle events from scripts running on Linux and Windows
> servers. After a brief search we've decided that the best support is
> offered by PHP (as an aside, does anyone know of a Firebird module for
> Perl?).
> Having never developed in PHP, is there any advice or tips anyone
> wants to offer?
>
> The basic script would be started by cron, register an event handler,
> and then wait until the handler executed and notified the main thread
> it was done, or the main thread reached a timeout threshold,
> deregistered the event handler and exited.
>
> I also want to make sure we're running a minimum install of PHP, as it
> won't be used for HTTP traffic.
>
> Thanks, Rick DeBay

PHP is fairly minimal anyway - there's only one exe script interpreter. You only need to decalre the extensions you require in the php.ini file e.g.
interbase.dll.
I don't know how to make php register interest in an event and scripts are subject to another script timeout setting as well. You will need to make that very long I guess.
I think there is a perl firebird connection somewhere.
Alan




------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12h8ntvtb/M=362131.6882499.7825260.1510227/D=groups/S=1705007183:TM/Y=YAHOO/EXP=1123805795/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy</a>.</font> --------------------------------------------------------------------~->


Yahoo! Groups Links