Back (using ob_start)
Back (using ob_start and copy)
Back (using command line tee copy) 
"; $sdate = date('l jS \of F Y h:i:s A'); if (isset($_GET['tee'])) { exec("cat " . dirname(__FILE__) . "/" . $jf[sizeof($jf) - 1] . " | tee " . dirname(__FILE__) . "/teecopy_" . $jf[sizeof($jf) - 1]); header("Location: " . str_replace("Yes", "y", str_replace($jf[sizeof($jf) - 1], "teecopy_" . $jf[sizeof($jf) - 1], $sru))); } if (isset($_GET['ob_start'])) { $suffix = " with ob_start"; $asuff = "Back (not using ob_start)
Back (using ob_start and copy)
Back (using command line tee copy) 
"; ob_start(); } $htmlis = " " . $asuff; for ($i=0; $i<$goes; $i++) { $htmlis .= "
CountryPopulationCrude Birth Rate
China134700000012
India124100000022
United States31200000014
Indonesia23800000018
Brazil19700000015
Pakistan17700000027
Nigeria16200000040
Bangladesh15100000020
Russia14300000013
Japan1280000008
Mexico11500000019
Philippines9600000025
Vietnam8800000016
Ethiopia8700000031
Germany818000008
Egypt8260000023
Iran7800000017
Turkey7400000018
Thailand6950000012
Congo6780000043
France6330000013
United Kingdom6270000013
Italy608000009
"; } $htmlis .= "
Back
"; echo $htmlis; if (isset($_GET['ob_start'])) { if ($_GET['ob_start'] == "Yes") { file_put_contents(dirname(__FILE__) . "/copy_" . $jf[sizeof($jf) - 1], ob_get_contents()); ob_end_clean(); header("Location: " . str_replace("Yes", "y", str_replace($jf[sizeof($jf) - 1], "copy_" . $jf[sizeof($jf) - 1], $sru))); } else { ob_end_flush(); } } ?>