This is a discussion on RE: [PHP] How to "smart refresh" php section using iframe? within the PHP General forums, part of the PHP Programming Forums category; [snip] This is not possible with PHP alone. You need to use some client side code such as JavaScript or ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
[snip]
This is not possible with PHP alone. You need to use some client side code such as JavaScript or Flash. [/snip] I think that with a combination (I have not tested this) of ob_start, ob_flush(), sleep(), and header() that this could be accomplished. ob_start(); ..... gather output ..... ob_flush(); //flush output sleep(); //waiting to refresh header($PHP_SELF); exit(); Again, this is not tested, but my very foggy Monday morning brain says this should work, no? |