<?php
 
 
// for pages that take a long time to process. 
 
 
 
include 'HV_HttpMultipart.php';
 
$serverpush = new HV_HttpMultipart();
 
 
 
$page = file_get_contents('page_processing.html');
 
$serverpush->send($page, false, 'text/html');
 
 
 
sleep(2); // go and do something...
 
 
 
$page = file_get_contents('page_ok.html');
 
$serverpush->send($page, false);
 
?>
 
 |