Buffer output to prevent searchreplacedb2.php from printing contents