Includes and Flushing
Posted: Tue Jun 05, 2007 1:10 pm
I have the desire to include a progress image (the request is going to be huge - dozens of queries with a table that could be over 100 rows) because of a page that can take 30-60 seconds to return.
My question is about the include and flushing output.
This is on a page, that will be included with a querystring identifier. So the template is all present then it comes to this page.
Is the page processed with the PHP then included, or included then processed as one huge PHP page?
For example
index.php
include <header>
include <content>
include <footer>
content page
include <content stuff>
include <query output>
I want to be able to flush the content stuff, and the answer to the question depends on how I will have to design the page.
My question is about the include and flushing output.
This is on a page, that will be included with a querystring identifier. So the template is all present then it comes to this page.
Is the page processed with the PHP then included, or included then processed as one huge PHP page?
For example
index.php
include <header>
include <content>
include <footer>
content page
include <content stuff>
include <query output>
I want to be able to flush the content stuff, and the answer to the question depends on how I will have to design the page.