Subject | RE: [firebird-php] PHP-CLI and event handling |
---|---|
Author | Rick Debay |
Post date | 2005-08-10T22:53:40Z |
I wasn't clear. There is only one thread, as I assume the registered event handler will execute in the original thread.
-----Original Message-----
From: firebird-php@yahoogroups.com [mailto:firebird-php@yahoogroups.com] On Behalf Of Alan McDonald
Sent: Wednesday, August 10, 2005 12:53 AM
To: firebird-php@yahoogroups.com
Subject: RE: [firebird-php] PHP-CLI and event handling
------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12h105l2q/M=362131.6882499.7825260.1510227/D=groups/S=1705007183:TM/Y=YAHOO/EXP=1123656897/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
-----Original Message-----
From: firebird-php@yahoogroups.com [mailto:firebird-php@yahoogroups.com] On Behalf Of Alan McDonald
Sent: Wednesday, August 10, 2005 12:53 AM
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 Windowswhere's the main thread? in some other application? or another thread of the PHP script? dunno about threading php Alan
> 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
------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12h105l2q/M=362131.6882499.7825260.1510227/D=groups/S=1705007183:TM/Y=YAHOO/EXP=1123656897/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