[PHP] sending reply, the continuing

2004-02-20 Thread Lucas Gonze
I have a situation where I want to send a cached result back then recalculate the cache. This is necessary because it takes a long time to generate a page. Is there a way for me to return what the browser needs, then terminate the connection without stopping my script? Thanks in advance. -

Re: [PHP] sending reply, the continuing

2004-02-20 Thread Lucas Gonze
s/the continuing/then continuing/ The continuing sounds like a Steven King title. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] sending reply, the continuing

2004-02-20 Thread Pablo Gosse
Lucas Gonze wrote: I have a situation where I want to send a cached result back then recalculate the cache. This is necessary because it takes a long time to generate a page. Is there a way for me to return what the browser needs, then terminate the connection without stopping my script?

Fwd: [PHP] sending reply, the continuing

2004-02-20 Thread Lucas Gonze
On Friday, Feb 20, 2004, at 13:52 America/New_York, Pablo Gosse wrote: If by terminate the connection you mean stop sending back information to the browser, then perhaps you should look into output control functions: http://ca3.php.net/manual/en/ref.outcontrol.php Well, the best match there is

Re: [PHP] sending reply, the continuing

2004-02-20 Thread John W. Holmes
From: Lucas Gonze [EMAIL PROTECTED] On Friday, Feb 20, 2004, at 13:52 America/New_York, Pablo Gosse wrote: If by terminate the connection you mean stop sending back information to the browser, then perhaps you should look into output control functions:

Re: [PHP] sending reply, the continuing

2004-02-20 Thread Lucas Gonze
On Friday, Feb 20, 2004, at 14:30 America/New_York, John W. Holmes wrote: Maybe register_shutdown_function()? Hm, so the way this works is that my shutdown function is called after the connection is terminated, and I do the work there... I'm going to implement this and see how well it works.

RE: [PHP] sending reply, the continuing

2004-02-20 Thread Chris W. Parker
how about having your php script execute another php script via the command line? wouldn't this allow the web page to close it's connection while the command line continued to do it's thing unaware of what was going on with the web server? chris. -- PHP General Mailing List

Re: [PHP] sending reply, the continuing

2004-02-20 Thread Lucas Gonze
On Friday, Feb 20, 2004, at 14:57 America/New_York, Chris W. Parker wrote: how about having your php script execute another php script via the command line? wouldn't this allow the web page to close it's connection while the command line continued to do it's thing unaware of what was going on

Re: [PHP] sending reply, the continuing

2004-02-20 Thread John W. Holmes
From: Lucas Gonze [EMAIL PROTECTED] Nice bit of PHP obscurantia, John. That's what I'm known for! :) ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php