[PHP] Re: php cli question

2010-09-13 Thread J Ravi Menon
On Sat, Sep 11, 2010 at 8:50 PM, Shawn McKenzie wrote: > On 09/10/2010 11:13 AM, J Ravi Menon wrote: >> Hi, >> >> I have some basic questions on running php  (5.2.x series on Linux >> 2.6) as a standalone daemon using posix methods (fork() etc..): >> >> #!/usr/bin/php >> > >> require_once ('somecl

[PHP] Re: php cli question

2010-09-11 Thread Shawn McKenzie
On 09/10/2010 11:13 AM, J Ravi Menon wrote: > Hi, > > I have some basic questions on running php (5.2.x series on Linux > 2.6) as a standalone daemon using posix methods (fork() etc..): > > #!/usr/bin/php > > require_once ('someclass.php'); > > // do some initializations > . > > // main 'for

RE: [PHP] CLI question

2003-12-18 Thread Ford, Mike [LSS]
On 18 December 2003 14:48, Rodney Green wrote: > Ford, Mike [LSS] wrote: > > > Shouldn't that be *don't* use output buffering and...? The > flush() function has nothing to do with output buffering, and > if output buffering is on you will need ob_flush() as well. > > > > Another (and probably b

Re: [PHP] CLI question

2003-12-18 Thread Rodney Green
Ford, Mike [LSS] wrote: Shouldn't that be *don't* use output buffering and...? The flush() function has nothing to do with output buffering, and if output buffering is on you will need ob_flush() as well. Another (and probably better) solution is to create a php-cli.ini file, which will be picke

RE: [PHP] CLI question

2003-12-18 Thread Ford, Mike [LSS]
On 17 December 2003 21:33, Jay Blanchard wrote: > [snip] > I'm using the CLI version 4.3.4 on Windows XP Pro. The script I'm > writing has only a couple of functions, a couple of "if" conditionals > and a "while" loop. At the very top of the script I have an echo > statement with a message I want

RE: [PHP] CLI question

2003-12-17 Thread Jay Blanchard
[snip] I'm using the CLI version 4.3.4 on Windows XP Pro. The script I'm writing has only a couple of functions, a couple of "if" conditionals and a "while" loop. At the very top of the script I have an echo statement with a message I want printed to the console window. The problem is that it's