Topic awaiting preservation: PHP - output while processing? |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: Australia |
posted 08-04-2005 03:13
Hi All, another querky question... |
Bipolar (III) Inmate From: Australia |
posted 08-04-2005 03:53
Having tested it a bit it almost seems to do what i want - but not quite... it does start displaying data but kind of lags behind. Like it has showed part of the first group but doesnt show the rest of the first group until the second group has finished processing... |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 08-04-2005 08:38
you can call php->flush() which will send all accumulated data to the browser. |
Bipolar (III) Inmate From: Australia |
posted 08-04-2005 09:44
Your a world of knowledge TP, ill check it out thanks. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 08-04-2005 14:19
oh, and the back of my brain just mentioned that there seemed to be some combination of php and apache on windows years back that flushed() only the first time, and never again in that script... |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 08-06-2005 04:42 |