Re: Non-blocking functions
| From: | Steve Werby | Date: | Sun, 10 Dec 2000 23:31:28 +0000 |
| Subject: | Re: Non-blocking functions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29604@lists.php.net to get a copy of this message | ||
"John Biesnecker" <amraam@ao.net> wrote:
> Is it possible in PHP to call a function and have it return immediately so
> that the rest of the code can be evaluated? I'd like to perform some
> possibly lengthy network routines that aren't critical to the display of
the
> page each time a page is loaded, but I don't want to hold up everything to
> do it.
Sure. Use register_shutdown_function().
--
Steve Werby
COO
24-7 Computer Services, LLC
Tel: 804.817.2470
http://www.247computing.com/