Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #14186

Re: Asynchronous Function Call in PHP

From crankypuss <crankypuss@nomail.invalid>
Newsgroups comp.lang.php
Subject Re: Asynchronous Function Call in PHP
Date 2014-08-21 03:16 -0600
Organization A noiseless patient Spider
Message-ID <lt4dbj$p3$1@dont-email.me> (permalink)
References <0ca6166b-e6cd-445e-be59-bee46d8f0070@googlegroups.com> <lsvreh$ia9$2@dont-email.me> <bab60a92-5f22-48ec-8781-917b83364d47@googlegroups.com>

Show all headers | View raw


On 08/20/2014 03:38 AM, Tuấn Dương Trần wrote:
> Function points that I mentioned above is a small part of the website that I am building.
> My websites like social networks, can automatically record user actions, keyword searches,
> favorite topics. I need a background process to calculate points based on that information,
> then write to the db. I'm looking to understand pthreads, but i don't know it can do?

Haven't had a website for years now, but what I used to do was a 
cheap-background process... I ran everything through "index.php" then 
after the page had been sent I'd call a general background routine. 
I've forgotten the exact details of how to make sure the page had been 
fully sent but if you want to do it that way I'm sure somebody that 
stays on top of the website aspect of PHP can help, I'm mostly using PHP 
for command-line functions and local applications these days.

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Asynchronous Function Call in PHP Tuấn Dương Trần <duongtt84@gmail.com> - 2014-08-19 06:48 -0700
  Re: Asynchronous Function Call in PHP Jerry Stuckle <jstucklex@attglobal.net> - 2014-08-19 11:45 -0400
    Re: Asynchronous Function Call in PHP Tuấn Dương Trần <duongtt84@gmail.com> - 2014-08-20 02:38 -0700
      Re: Asynchronous Function Call in PHP Jerry Stuckle <jstucklex@attglobal.net> - 2014-08-20 06:25 -0400
        Re: Asynchronous Function Call in PHP crankypuss <crankypuss@nomail.invalid> - 2014-08-21 03:18 -0600
          Re: Asynchronous Function Call in PHP "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-08-21 16:37 +0200
      Re: Asynchronous Function Call in PHP crankypuss <crankypuss@nomail.invalid> - 2014-08-21 03:16 -0600

csiph-web